diff --git a/source/funkin/editors/charter/CharterEventTypeSelection.hx b/source/funkin/editors/charter/CharterEventTypeSelection.hx index 82f51249..bb32f41e 100644 --- a/source/funkin/editors/charter/CharterEventTypeSelection.hx +++ b/source/funkin/editors/charter/CharterEventTypeSelection.hx @@ -34,6 +34,7 @@ class CharterEventTypeSelection extends UISubstateWindow { close(); callback(eventName); }, w); + button.autoAlpha = false; button.cameras = [buttonCameras]; buttons.push(cast add(button)); @@ -60,6 +61,10 @@ class CharterEventTypeSelection extends UISubstateWindow { override function update(elapsed:Float) { super.update(elapsed); + + for (button in buttons) + button.selectable = buttonsBG.hovered; + buttonCameras.zoom = subCam.zoom; buttonCameras.x = -subCam.scroll.x + Std.int(windowSpr.x+10); diff --git a/source/funkin/editors/charter/CharterStrumline.hx b/source/funkin/editors/charter/CharterStrumline.hx index ed90b0cd..b78bb5ae 100644 --- a/source/funkin/editors/charter/CharterStrumline.hx +++ b/source/funkin/editors/charter/CharterStrumline.hx @@ -38,7 +38,6 @@ class CharterStrumline extends UISprite { healthIcons = new FlxSpriteGroup(x, y); for (i=>icon in icons) { - trace(i); var healthIcon = new HealthIcon(icon); healthIcon.scale.x = healthIcon.scale.y = 0.6 - (icons.length / 20); healthIcon.updateHitbox();