From b270af32ace105ca5ca7ea7a3bebc9ef45bf099c Mon Sep 17 00:00:00 2001 From: Wlowscha <54003515+Wlowscha@users.noreply.github.com> Date: Sun, 27 Jul 2025 22:55:36 +0200 Subject: [PATCH] Added TODO --- src/ui/scrolling-text.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ui/scrolling-text.ts b/src/ui/scrolling-text.ts index e47f8e59a0b..c5acd2c688a 100644 --- a/src/ui/scrolling-text.ts +++ b/src/ui/scrolling-text.ts @@ -2,6 +2,9 @@ import { globalScene } from "#app/global-scene"; import { fixedInt } from "#app/utils/common"; import { addTextObject, type TextStyle } from "./text"; +/* + */ + export default class ScrollingText extends Phaser.GameObjects.Container { public text: Phaser.GameObjects.Text; private descScroll: Phaser.Tweens.Tween | null = null; @@ -31,6 +34,7 @@ export default class ScrollingText extends Phaser.GameObjects.Container { this.add(this.text); const maskGraphics = scene.make.graphics({ x: 0, y: 0 }); + //TODO: Remove, this line is for testing maskGraphics.fillStyle(0xffffff); maskGraphics.fillRect(globalMaskX, globalMaskY, visibleWidth, visibleHeight);