Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow scenery to be dragged to bin #1616

Merged
merged 1 commit into from
May 15, 2024
Merged

fix: allow scenery to be dragged to bin #1616

merged 1 commit into from
May 15, 2024

Conversation

evemartin
Copy link
Contributor

@evemartin evemartin commented May 14, 2024

As described in Stefan's comment, scenery items can now be dragged off the grid to the bin to be removed. If they are dragged off the grid but are not released over the bin, they will snap back to the grid (i.e. if the scenery item's x value is too large such that it's off the grid when it's released, it will automatically snap back to the max x value so that it's on the grid).


This change is Reviewable

Copy link
Contributor

@faucomte97 faucomte97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @evemartin)

@evemartin evemartin merged commit b27c137 into master May 15, 2024
6 checks passed
@evemartin evemartin deleted the fix-bin-bug branch May 15, 2024 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants