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

Grid-based selection movement offset corrections #712

Merged
merged 2 commits into from
Jul 2, 2022

Conversation

Variable-ind
Copy link
Contributor

The snapping becomes weird if the "grid offset" is larger than the "grid size"
I fixed the bug by correcting lines 144 and 145 of SelectionTool.gd

(Note: i was only able to fix this for the selection code, the move tool still has this bug)

Copy link
Member

@OverloadedOrama OverloadedOrama left a comment

Choose a reason for hiding this comment

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

Thank you!

@OverloadedOrama OverloadedOrama merged commit 9805af3 into Orama-Interactive:master Jul 2, 2022
OverloadedOrama added a commit that referenced this pull request Jul 2, 2022
Also re-formatted SelectionTool's draw_move()
@OverloadedOrama OverloadedOrama changed the title offset corrections Grid-based selection movement offset corrections Jul 7, 2022
@Variable-ind Variable-ind deleted the offset-fixes branch July 9, 2022 15:58
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