-
Notifications
You must be signed in to change notification settings - Fork 83
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
Level Editor layout is wonky #1543
Labels
Comments
faucomte97
added
bug
good first issue
Good issue for first time contributor
volunteers
Tasks that can be picked up by anyone
labels
Nov 28, 2023
Closed
Can't drag objects into bin when bin is below grid |
I propose the following fix, we should be able to drag elements off the grid and release it into the bin. However, if the element is released off the grid and it's not over the bin, the element should be placed at max x if it's x coordinate is over the max and max y if it's y coordinate is over the max |
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The Level Editor layout has become wonky. The grid has grown in size so it no longer fits in the window and the bin has moved closer to the centre of the window.
Additionally, when moving scenery assets onto the grid, the mouse cursor isn't in line with the grid and where the asset actually ends up - most likely a byproduct of the grid being oversized.
This is a side-effect of #1516. Reverting the code to what it was before that change "fixes" it, although the original issue comes back whereby the grid is cut off. A solution needs to be found to fix both problems.
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
The grid should fit within the window and the bin should go back to the bottom-right of the window.
Assets that are added to the map should be in line with where the cursor is.
Screenshots
Desktop (please complete the following information):
Probably all (double-check)
The text was updated successfully, but these errors were encountered: