Skip to content

Commit 99ea35d

Browse files
committed
2 parents 7f34ec5 + 388c154 commit 99ea35d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎source/funkin/backend/system/framerate/Framerate.hx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ class Framerate extends Sprite {
119119
super.__enterFrame(t);
120120
bgSprite.alpha = debugAlpha * 0.5;
121121

122-
x = 10 + offset.x;
123-
y = 2 + offset.y;
122+
x = 10 + offset.x * FlxG.scaleMode.scale.x;
123+
y = 2 + offset.y * FlxG.scaleMode.scale.y;
124124

125125
var width = MathUtil.maxSmart(fpsCounter.width, memoryCounter.width #if SHOW_BUILD_ON_FPS , codenameBuildField.width #end) + (x*2);
126126
var height = #if SHOW_BUILD_ON_FPS codenameBuildField.y + codenameBuildField.height #else memoryCounter.y + memoryCounter.height #end;

0 commit comments

Comments
 (0)