diff --git a/source/funkin/editors/UIDebugState.hx b/source/funkin/editors/UIDebugState.hx index 6b621e92..9f6845c9 100644 --- a/source/funkin/editors/UIDebugState.hx +++ b/source/funkin/editors/UIDebugState.hx @@ -101,7 +101,7 @@ class UIDebugState extends UIState { }, 130, 48)); add(new UITextBox(10, 220, "")); - var spliceSprite:UISliceSprite = new UISliceSprite(650, 300, 200, 200, "editors/ui/context-bg-debug"); + var spliceSprite:UISliceSprite = new UISliceSprite(650, 350, 10, 30, "editors/ui/context-bg"); add(spliceSprite); } diff --git a/source/funkin/editors/ui/UISliceSprite.hx b/source/funkin/editors/ui/UISliceSprite.hx index e8f1db7d..d4da80d7 100644 --- a/source/funkin/editors/ui/UISliceSprite.hx +++ b/source/funkin/editors/ui/UISliceSprite.hx @@ -97,7 +97,7 @@ class UISliceSprite extends UISprite { public override function draw() @:privateAccess { checkEmptyFrame(); - if (alpha == 0 || _frame.type == FlxFrameType.EMPTY) { + if (!(alpha == 0 || _frame.type == FlxFrameType.EMPTY)) { if (__framesDirty) calculateFrames(); if (__meshDirty) __genMesh();