From 4e3a281d6583fa70c7e1a78c051b04a49792fdc1 Mon Sep 17 00:00:00 2001 From: Andy Kopra Date: Sun, 11 Oct 2026 13:17:22 +0200 Subject: [PATCH] Undo, and the toolbar in three groups Undo takes back one's own latest mark, by the button, Ctrl+Z or two quick taps of the eraser; the toolbar's drawing tools, the page and view, and the session stand in three groups that do not move when the tool changes; the buttons are a little smaller. --- client/index.html | 18 ++- client/js/main.js | 105 +++++++++++++-- client/js/pen_input.js | 5 +- client/js/selection_guard.js | 2 +- client/js/session.js | 255 ++++++++++++++++++++++++++++++++++- client/js/text_editor.js | 4 + client/kokkoja.css | 34 ++++- docs/guest.md | 28 +++- docs/host.md | 3 +- docs/implementation.md | 16 ++- tests/test_end_to_end.py | 167 +++++++++++++++++++++++ 11 files changed, 602 insertions(+), 35 deletions(-) diff --git a/client/index.html b/client/index.html index 5b639da..f0109d4 100644 --- a/client/index.html +++ b/client/index.html @@ -40,16 +40,14 @@