From f92b522597b7eef2f5972561ae4311c80892f728 Mon Sep 17 00:00:00 2001 From: Kolo <67389779+KoloInDaCrib@users.noreply.github.com> Date: Wed, 6 May 2026 04:39:07 +0200 Subject: [PATCH] Tweak values to fix black lines --- flixel/FlxCamera.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flixel/FlxCamera.hx b/flixel/FlxCamera.hx index 6b1f970856..2460967a2b 100644 --- a/flixel/FlxCamera.hx +++ b/flixel/FlxCamera.hx @@ -1377,8 +1377,8 @@ class FlxCamera extends FlxBasic { rect.x = rect.y = 0; - rect.width = Math.round(width * initialZoom * FlxG.scaleMode.scale.x) + (isTransparent ? 0 : -2); - rect.height = Math.round(height * initialZoom * FlxG.scaleMode.scale.y) + (isTransparent ? 0 : -2); + rect.width = Math.round(width * initialZoom * FlxG.scaleMode.scale.x) + (isTransparent ? 0 : -1); + rect.height = Math.round(height * initialZoom * FlxG.scaleMode.scale.y) + (isTransparent ? 0 : -1); _scrollRect.scrollRect = rect;