You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 70b5820
Browse filesBrowse the repository at this point in the historyBrowse files
Allow users to switch between pen, eraser, and text tools
using keyboard shortcuts (P, E, and T), reducing reliance
on toolbar clicks and improving interaction efficiency.
Repeated P presses cycle through pen colors, while
repeated E presses cycle through eraser sizes. Pressing T
toggles between the text tool and the previously selected
pen or eraser.
Add always-visible shortcut labels beside the corresponding
toolbar controls to improve discoverability.
Ignore shortcuts while typing in text inputs or editing
text labels, on repeated keydown events, and when the
whiteboard is inactive to prevent unintended tool changes.
Change-Id: I58c3d5051267641f928724d0d722ed997f16beff
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -240,9 +240,9 @@ what you can draw, say aloud and defend by tracing an example by hand.
240
240
241
241
| Control | What it does |
242
242
|---|---|
243
-
| Pen colors | Black, red, blue and green. Write in black and mark up in the others. |
244
-
| Eraser | Rubs out what it passes over. The three size buttons beside it pick a size and the eraser together: small for one character, medium for one line, large for a region. Pick a pen color, or press Eraser again, to draw again. |
245
-
| Text | Click or drag on the board to create a text draft. Enter inserts a newline; Ctrl+Enter or Confirm places the label; Escape or Cancel discards it. Committed labels cannot be edited, moved or resized. |
243
+
| Pen colors | Black, red, blue and green. Write in black and mark up in the others. With focus on the canvas or drawing toolbar, press P to select the pen, or press P while the pen is selected to cycle through colors. |
244
+
| Eraser | Rubs out what it passes over. The three size buttons beside it pick a size and the eraser together: small for one character, medium for one line, large for a region. With focus on the canvas or drawing toolbar, press E to select the eraser, or press E while the eraser is selected to cycle through sizes. Pick a pen color, or press Eraser again, to draw again. |
245
+
| Text |With focus on the canvas or drawing toolbar, press T to toggle the text tool and the previously selected pen or eraser. Click or drag on the board to create a text draft. Enter inserts a newline; Ctrl+Enter or Confirm places the label; Escape or Cancel discards it. Committed labels cannot be edited, moved or resized. |
246
246
| Undo, Redo | Step back and forward one stroke, erasure or confirmed text label at a time. With focus in the whiteboard canvas or drawing toolbar, use Ctrl+Z to undo and Ctrl+Y or Ctrl+Shift+Z to redo on Windows/Linux, or Cmd+Z / Cmd+Shift+Z on macOS. Tab reaches the drawing toolbar; the canvas is not a Tab stop. |
247
247
| Clear board | Wipes the board in one step, which Undo brings back. |
0 commit comments