Skip to content

[BUGFIX] Unregister Chart Editor note/event tooltips on sprite destroy#7563

Open
VICK-sys wants to merge 1 commit into
FunkinCrew:developfrom
VICK-sys:fix/chart-editor-tooltip-cross-session-leak
Open

[BUGFIX] Unregister Chart Editor note/event tooltips on sprite destroy#7563
VICK-sys wants to merge 1 commit into
FunkinCrew:developfrom
VICK-sys:fix/chart-editor-tooltip-cross-session-leak

Conversation

@VICK-sys
Copy link
Copy Markdown

Linked Issues

Closes #5929

Description

ChartEditorNoteSprite / ChartEditorEventSprite register tooltip regions with HaxeUI's ToolTipManager singleton but only unregister them in kill(), not destroy(). Closing and re-opening the Chart Editor leaves stale regions on the singleton, so hovering the same screen coordinates in a new session shows tooltips from the previous chart.

Fix: override destroy() on both sprites to unregister the tooltip before super.destroy().

Screenshots/Videos

Demo.mp4

@github-actions github-actions Bot added status: pending triage Awaiting review. pr: haxe PR modifies game code. size: medium A medium pull request with 100 or fewer changes. and removed status: pending triage Awaiting review. labels May 10, 2026
@NotHyper-474 NotHyper-474 added type: minor bug Involves a minor bug or issue. status: pending triage Awaiting review. topic: chart editor Related to the operation of the Chart Editor. labels May 10, 2026
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.

Development

Successfully merging this pull request may close these issues.

2 participants