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

Chart editor - Don't move the stuff if it wasn't actually moved #4185

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

Lasercar
Copy link
Contributor

@Lasercar Lasercar commented Feb 19, 2025

Does this PR close any issues? If so, link them below.

Fixes #3761

Briefly describe the issue(s) fixed.

When you move a bunch of items or notes and move them back into the same position and release, it removes the selection boxes on the notes for some reason.

To fix this, the code now returns if they weren't actually moved. This doesn't fix actually fix the issue in the code, it just bypasses it. I have no clue where it happens, but it has something to do with when the move command is performed but the notes don't actually need to move at all, and something note specific because it doesn't happen to events when moved but not actually moved.

Include any relevant screenshots or videos.

2025-02-19.23-59-50.mp4

Wait, that's weird, the move events command can still preform.

Ah, it's because dragDistanceColumns is always 8. I'll make an additional change for that to keep the functionally the same. Done.

@github-actions github-actions bot added status: pending triage Awaiting review. size: medium A medium pull request with 100 or fewer changes. pr: haxe PR modifies game code. labels Feb 19, 2025
@Lasercar Lasercar force-pushed the chart-editor-don't-move-stuff-if-it-wasn't-moved branch from b295037 to d52f750 Compare February 19, 2025 14:16
@Lasercar Lasercar changed the title Chart editor - Don't move the notes if they weren't actually moved Chart editor - Don't move the stuff if they weren't actually moved Feb 19, 2025
@Lasercar Lasercar changed the title Chart editor - Don't move the stuff if they weren't actually moved Chart editor - Don't move the stuff if it wasn't actually moved Feb 19, 2025
@AbnormalPoof AbnormalPoof added type: minor bug Involves a minor bug or issue. topic: chart editor Related to the operation of the Chart Editor. labels Feb 19, 2025
@Lasercar Lasercar force-pushed the chart-editor-don't-move-stuff-if-it-wasn't-moved branch from 27250fe to 4976b56 Compare February 19, 2025 15:16
@Lasercar Lasercar force-pushed the chart-editor-don't-move-stuff-if-it-wasn't-moved branch from 4976b56 to 3b4b776 Compare February 19, 2025 15:17
Copy link
Collaborator

@Hundrec Hundrec left a comment

Choose a reason for hiding this comment

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

Tested, great job!

@Lasercar Lasercar changed the base branch from develop to main February 22, 2025 01:02
@Lasercar Lasercar changed the base branch from main to develop February 22, 2025 01:03
@Lasercar Lasercar changed the base branch from develop to main February 22, 2025 01:14
@Lasercar Lasercar changed the base branch from main to develop February 22, 2025 01:14
@Lasercar
Copy link
Contributor Author

Oh whoops, I already linked this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: haxe PR modifies game code. size: medium A medium pull request with 100 or fewer changes. status: pending triage Awaiting review. topic: chart editor Related to the operation of the Chart Editor. type: minor bug Involves a minor bug or issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug Report: In the editor, Moving notes and returning them causes them to lose selection box
3 participants