1
0
Commit Graph

7 Commits

Author SHA1 Message Date
eb20849bd8
make main buttons redraw syncronously
By main buttons I mean the "new game", "they win" and "we win" buttons.
They have in common that they scroll to the bottom of the view, to make
sure the user can immediately see their effect.

This change fixes two bugs:

1. The scrolling did not work reliably. While it would always scroll a
   bit, it would usually not go to the bottom exactly. This meant that
   most of the time the bottom digits were only half visible. Now it
   scrolls reliably all the way.

2. When hitting the win buttons in rapid succession it was possible to
   trigger both within a single redraw cycle. This caused the UI to set
   a single rounds winner to both teams, which the round model rightly
   rejected. Now, by the time the second event is registered, the button
   has already been disabled, or the round been replaced by a new one.
2026-03-10 00:40:02 +01:00
32ab7594f1
refactor style sheets 2026-03-05 01:55:45 +01:00
e0ede4a503
refactor styles to make further additions easier 2026-03-03 20:29:04 +01:00
d4536aadc1
allow editing session head data 2026-03-02 22:12:23 +01:00
bb3ad61950
make import paths absolute 2026-02-22 12:51:28 +01:00
eba36600b9
make session UI somewhat nice 2026-02-18 19:01:14 +01:00
624063b91e
implement very basic UI 2026-02-15 22:31:36 +01:00