From f8d2fc94d65e10655669374a6458f3f96dcc7adc Mon Sep 17 00:00:00 2001 From: MatMoul Date: Fri, 24 Apr 2026 22:31:01 +0200 Subject: [PATCH] feat: add stack selection and move controls to dev sample --- samples/dev/index.html | 214 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 199 insertions(+), 15 deletions(-) diff --git a/samples/dev/index.html b/samples/dev/index.html index 04ffdbe..609054f 100644 --- a/samples/dev/index.html +++ b/samples/dev/index.html @@ -93,6 +93,18 @@ display: grid; grid-template-columns: 26px 1fr; gap: 8px; + padding: 1px 4px; + border-radius: 4px; + } + + .stack-line.selected { + background: rgba(27, 42, 18, 0.14); + outline: 1px dashed rgba(27, 42, 18, 0.45); + } + + .stack-line.moving { + background: rgba(140, 255, 109, 0.18); + outline: 1px solid rgba(27, 42, 18, 0.55); } .stack-line .label { @@ -100,6 +112,12 @@ color: var(--screen-dim); } + .stack-line.selected .label, + .stack-line.moving .label { + color: var(--screen-text); + font-weight: bold; + } + .hidden-input { position: absolute; left: -9999px; @@ -213,7 +231,7 @@
-
Keyboard works globally: digits, numpad, Enter, Backspace, Delete, →, +, -, *, /, %, ^, q, n, r, i, g, l, s, c, t, S, C, T
+
Keyboard works globally: digits, numpad, Enter, Backspace, Delete, Esc, ↑, ↓, →, +, -, *, /, %, ^, q, n, r, i, g, l, s, c, S, C, x, y, z, t