From 38fa252b716da48ed68f58954941777c5d18a59c Mon Sep 17 00:00:00 2001 From: Christian Lauinger Date: Mon, 3 Mar 2025 17:04:25 +0100 Subject: [PATCH] Automatically add a few spaces after labels when scrolling #183 --- src/helpers/shell/ScrollingLabel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/shell/ScrollingLabel.ts b/src/helpers/shell/ScrollingLabel.ts index 5f1e8b8..e37934a 100644 --- a/src/helpers/shell/ScrollingLabel.ts +++ b/src/helpers/shell/ScrollingLabel.ts @@ -84,7 +84,7 @@ class ScrollingLabel extends St.ScrollView { private initScrolling() { const adjustment = this.hscroll.adjustment; - const origText = this.label.text; + const origText = this.label.text + " "; this.onAdjustmentChangedId = adjustment.connect( "changed",