Skip to content

[BUGFIX] Hide duplicate sprite when dragging event - #7788

Open
kiryvajiravuth wants to merge 1 commit into
FunkinCrew:preview/public-playtestfrom
kiryvajiravuth:testing
Open

[BUGFIX] Hide duplicate sprite when dragging event#7788
kiryvajiravuth wants to merge 1 commit into
FunkinCrew:preview/public-playtestfrom
kiryvajiravuth:testing

Conversation

@kiryvajiravuth

Copy link
Copy Markdown

Linked Issues

Might closes #6227

Description

When dragging a note or event in the ChartEditor (e.g., after double-clicking it then drags it) the grid ghost sprites (gridGhostEvent, gridGhostNote, gridGhostHoldNote) remain visible at their last position, creating a "clone" of the dragged item.

This fix hides all three ghost sprites while any drag target is active (dragTargetNote or dragTargetEvent is not null) removes the clones. The ghosts are naturally re-shown by handleCursor() once the drag ends.

Note:

This bug is very inconsistent to replicate , sometimes you have to doubleclick the event then drags it while sometimes it requires you to doubleclick then click outside of the charting grid then drag which confuses me even more 😭

Screenshots/Videos

Before :

before.mp4

After :

after.mp4

@github-actions github-actions Bot added size: small A small pull request with 10 or fewer changes. pr: haxe PR modifies game code. status: pending triage Awaiting review. labels Jul 24, 2026
@NotHyper-474 NotHyper-474 added type: minor bug Involves a minor bug or issue. type: charting issue Involves the charting or placement of notes for a level. topic: chart editor Related to the operation of the Chart Editor. and removed type: charting issue Involves the charting or placement of notes for a level. labels Jul 24, 2026
@kiryvajiravuth kiryvajiravuth changed the title hide dupe event while double dragging [BUGFIX] hide dupe event while double dragging Jul 24, 2026
@Hundrec
Hundrec changed the base branch from dummy/develop-v0.8.5 to develop July 25, 2026 12:05
@Hundrec Hundrec changed the title [BUGFIX] hide dupe event while double dragging [BUGFIX] Hide duplicate sprite when dragging event Jul 25, 2026
@Hundrec Hundrec linked an issue Jul 25, 2026 that may be closed by this pull request
4 tasks
@kiryvajiravuth
kiryvajiravuth changed the base branch from develop to preview/public-playtest August 6, 2026 09:12
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: small A small pull request with 10 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.

Development

Successfully merging this pull request may close these issues.

Bug Report: Double Clicking a Chart Editor event copies it visually

2 participants