From c55f75c15696d26081521f151d4f180582e1dc6a Mon Sep 17 00:00:00 2001 From: lunarcleint <88809950+lunarcleint@users.noreply.github.com> Date: Tue, 16 Apr 2024 17:51:48 -0700 Subject: [PATCH] make text not blurry --- source/funkin/editors/character/CharacterAnimButton.hx | 1 - source/funkin/editors/character/CharacterAnimsWindow.hx | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/source/funkin/editors/character/CharacterAnimButton.hx b/source/funkin/editors/character/CharacterAnimButton.hx index 73ae9c47..68bddd8f 100644 --- a/source/funkin/editors/character/CharacterAnimButton.hx +++ b/source/funkin/editors/character/CharacterAnimButton.hx @@ -74,7 +74,6 @@ class CharacterAnimButton extends UIButton { indicesTextBox = new UITextBox(nameTextBox.x, nameTextBox.y, animData.indices.getDefault([]).join(","), 278, 22, false, true); members.push(indicesTextBox); addLabelOn(indicesTextBox, "Indices (frames)", 12); - } public override function update(elapsed:Float) { diff --git a/source/funkin/editors/character/CharacterAnimsWindow.hx b/source/funkin/editors/character/CharacterAnimsWindow.hx index e3e44610..7e96927d 100644 --- a/source/funkin/editors/character/CharacterAnimsWindow.hx +++ b/source/funkin/editors/character/CharacterAnimsWindow.hx @@ -15,6 +15,8 @@ class CharacterAnimsWindow extends UIButtonList { cameraSpacing = 0; frames = Paths.getFrames('editors/ui/inputbox'); + buttonCameras.pixelPerfectRender = true; + displayWindowSprite = new FlxSprite(); displayWindowSprite.loadGraphicFromSprite(character); displayWindowSprite.antialiasing = character.antialiasing;