From 1057c035d3ac63a42950f4696d9bf322eb857708 Mon Sep 17 00:00:00 2001 From: lunarcleint <88809950+lunarcleint@users.noreply.github.com> Date: Sat, 10 Feb 2024 13:31:25 -0700 Subject: [PATCH] blah blah blah --- source/funkin/editors/charter/Charter.hx | 4 +++- source/funkin/editors/ui/UIText.hx | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/source/funkin/editors/charter/Charter.hx b/source/funkin/editors/charter/Charter.hx index f7f37e75..b46432ce 100644 --- a/source/funkin/editors/charter/Charter.hx +++ b/source/funkin/editors/charter/Charter.hx @@ -338,6 +338,8 @@ class Charter extends UIState { uiCamera.bgColor = 0; FlxG.cameras.add(uiCamera); + for (camera in FlxG.cameras.list) camera.antialiasing = false; + charterBG = new FunkinSprite(0, 0, Paths.image('menus/menuDesat')); charterBG.color = 0xFF181818; charterBG.cameras = [charterCamera]; @@ -378,7 +380,7 @@ class Charter extends UIState { uiGroup.add(scrollBar); songPosInfo = new UIText(FlxG.width - 30 - 400, scrollBar.y + 10, 400, "00:00\nBeat: 0\nStep: 0\nMeasure: 0\nBPM: 0\nTime Signature: 4/4"); - songPosInfo.alignment = RIGHT; songPosInfo.optimized = true; + songPosInfo.alignment = RIGHT; uiGroup.add(songPosInfo); playBackSlider = new UISlider(FlxG.width - 160 - 26 - 20, (23/2) - (12/2), 160, 1, [{start: 0.25, end: 1, size: 0.5}, {start: 1, end: 2, size: 0.5}], true); diff --git a/source/funkin/editors/ui/UIText.hx b/source/funkin/editors/ui/UIText.hx index 83daab60..adc4f272 100644 --- a/source/funkin/editors/ui/UIText.hx +++ b/source/funkin/editors/ui/UIText.hx @@ -16,6 +16,10 @@ class UIText extends FunkinText { this.borderSize = 1; } this.active = false; + this.antialiasing = false; + + // this.textField.antiAliasType = ADVANCED; + // this.textField.sharpness = 400; } public override function applyBorderStyle() {