Fix bug that happened when dragging notes

This commit is contained in:
Ne_Eo
2025-01-22 22:30:57 +01:00
parent 5f51df0f3f
commit 7a10f1eddb
@@ -69,8 +69,9 @@ class CharterNoteHoverer extends CharterNote {
sustainSpr.updateHitbox(); sustainSpr.alpha = alpha; sustainSpr.follow(this, 15, 20);
sustainSpr.exists = draggingNote.susLength != 0;
typeText.text = Std.string(draggingNote.type);
typeText.exists = draggingNote.type != 0;
type = draggingNote.type;
//typeText.text = Std.string(draggingNote.type);
//typeText.exists = draggingNote.type != 0;
typeText.follow(this, 20 - (typeText.frameWidth/2), 20 - (typeText.frameHeight/2));
super.draw();