Update after finals 2023

This commit is contained in:
Jan Schär 2023-06-01 15:25:01 +02:00
parent 295a111cec
commit 9e9cfaabea
12 changed files with 78 additions and 28 deletions

View file

@ -1,3 +1,2 @@
[Time]
NTP=finals.soi.ch
FallbackNTP=10.0.0.9
NTP=finals.soi.ch 10.0.0.9

View file

@ -158,6 +158,11 @@ function updateCountdown () {
minutesToStart.toString().padStart(2, '0') + '' +
secondsToStart.toString().padStart(2, '0');
// Force a redraw of the entire label widget. Without this, there sometimes
// appears a small artifact to the right of the text, which is only visible
// every other second. This seems to be a bug in the rendering engine itself.
labelCountdown.queue_redraw();
const nextUpdateTime = 1000 - nowTime % 1000
countdownTimeoutId = GLib.timeout_add(
GLib.PRIORITY_HIGH,