From 1ca7f885cb959c6ff2769fa3bf163db6badd67c2 Mon Sep 17 00:00:00 2001 From: Tabby <41929769+tabby-cat-nya@users.noreply.github.com> Date: Sat, 30 May 2026 17:16:47 +1000 Subject: [PATCH] Update clock.gd --- clock.gd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clock.gd b/clock.gd index fcfa685..6be9d5c 100644 --- a/clock.gd +++ b/clock.gd @@ -13,7 +13,7 @@ enum Position { Left, } -# Called when the node enters the scene tree for the first time. +# Called when the node enters the scene tree fscor the first time. func _ready() -> void: setup_window() @@ -28,6 +28,7 @@ func setup_window(): position.y = 0 # set position of bar to be where it should be (moves when we change the window size) if bar_position == Position.Right: get_window().size = Vector2i(10, screen_size.y) # set window size to be 10 high and screen width wide + size.x = screen_size.y - taskbar_height DisplayServer.window_set_position(screen_pos + Vector2i(screen_size.x-10,0)) # set position of window to be just above the taskbar position.y = 0 # set position of bar to be where it should be (moves when we change the window size) position.x = 10