From 1fde59f999eac94eb10fc22094885de2f5310705 Mon Sep 17 00:00:00 2001 From: EliteMasterEric Date: Wed, 2 Oct 2024 01:57:04 -0400 Subject: [PATCH] fix: The dialog now shows up on the animation debugger view --- source/funkin/ui/debug/anim/DebugBoundingState.hx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/funkin/ui/debug/anim/DebugBoundingState.hx b/source/funkin/ui/debug/anim/DebugBoundingState.hx index 4573ffbc7..157d20aa1 100644 --- a/source/funkin/ui/debug/anim/DebugBoundingState.hx +++ b/source/funkin/ui/debug/anim/DebugBoundingState.hx @@ -109,9 +109,11 @@ class DebugBoundingState extends FlxState offsetEditorDialog.cameras = [hudCam]; add(offsetEditorDialog); + offsetEditorDialog.showDialog(false); - // Anchor to the right side by default - // offsetEditorDialog.x = FlxG.width - offsetEditorDialog.width; + // Anchor to the left side by default + offsetEditorDialog.x = 16; + offsetEditorDialog.y = 16; // sets the default camera back to FlxG.camera, since we set it to hudCamera for haxeui stuf FlxG.cameras.setDefaultDrawTarget(FlxG.camera, true);