From 7a10f1eddb3fb2f38db417ea450e84cc85db395b Mon Sep 17 00:00:00 2001 From: Ne_Eo Date: Wed, 22 Jan 2025 22:30:57 +0100 Subject: [PATCH] Fix bug that happened when dragging notes --- source/funkin/editors/charter/CharterNoteHoverer.hx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/funkin/editors/charter/CharterNoteHoverer.hx b/source/funkin/editors/charter/CharterNoteHoverer.hx index 809a6f9f..3f7146ba 100644 --- a/source/funkin/editors/charter/CharterNoteHoverer.hx +++ b/source/funkin/editors/charter/CharterNoteHoverer.hx @@ -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();