From 3d77df0d640fc89d8700481578b275a2812cc236 Mon Sep 17 00:00:00 2001 From: Kolo <67389779+JustKolosaki@users.noreply.github.com> Date: Sat, 2 Nov 2024 20:58:59 +0100 Subject: [PATCH] compilation fix oops --- .../ui/debug/char/components/dialogs/HealthIconDialog.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/funkin/ui/debug/char/components/dialogs/HealthIconDialog.hx b/source/funkin/ui/debug/char/components/dialogs/HealthIconDialog.hx index f74a7a991b..a094e11a1e 100644 --- a/source/funkin/ui/debug/char/components/dialogs/HealthIconDialog.hx +++ b/source/funkin/ui/debug/char/components/dialogs/HealthIconDialog.hx @@ -1,7 +1,5 @@ package funkin.ui.debug.char.components.dialogs; -package funkin.ui.debug.char.components.dialogs; - import funkin.play.components.HealthIcon; import funkin.util.FileUtil; import flixel.FlxSprite; @@ -117,6 +115,8 @@ class HealthIconDialog extends DefaultPageDialog healthIconPreviewImg.flipX = healthIconFlipX.selected; healthIconPreviewImg.antialiasing = healthIconPixelated.selected; healthIconPreviewImg.imageScale = healthIconScale.pos; + healthIconPreviewImg.left = healthIconOffsetX.pos; + healthIconPreviewImg.top = healthIconOffsetY.pos; healthIcon.animation.onFrameChange.add(function(animName:String, frameNumber:Int, frameIndex:Int) { healthIconPreviewImg.resource = healthIcon.frames.frames[frameIndex];