Spell out "Rectangle" in tool labels instead of "Rect"
Template tests / tests (push) Successful in 1m41s
Template tests / tests (pull_request) Successful in 1m39s

Keeps the internal 'rect' annotation type id (canvas/raster/schema)
unchanged; only updates the user-facing toolbar button and shortcuts
help text.
This commit is contained in:
2026-06-15 09:38:24 -05:00
parent 5d4925dee4
commit a3425c36b4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -649,7 +649,7 @@ const SHORTCUTS = [
['Ctrl+V', 'Paste annotation, or clipboard image as new step'], ['Ctrl+V', 'Paste annotation, or clipboard image as new step'],
]], ]],
['Canvas tools', [ ['Canvas tools', [
['S R O L A T', 'Select · Rect · Oval · Line · Arrow · Text'], ['S R O L A T', 'Select · Rectangle · Oval · Line · Arrow · Text'],
['G N B H M U C', 'Tooltip · Number · Blur · Highlight · Magnify · Cursor · Crop'], ['G N B H M U C', 'Tooltip · Number · Blur · Highlight · Magnify · Cursor · Crop'],
['Ctrl+C', 'Copy selected annotation'], ['Ctrl+C', 'Copy selected annotation'],
['Delete', 'Delete selected annotation'], ['Delete', 'Delete selected annotation'],
+1 -1
View File
@@ -189,7 +189,7 @@ class GuideEditor {
this.root.innerHTML = ''; this.root.innerHTML = '';
const toolButtons = [ const toolButtons = [
['select', 'Select'], ['select', 'Select'],
['rect', 'Rect'], ['rect', 'Rectangle'],
['oval', 'Oval'], ['oval', 'Oval'],
['line', 'Line'], ['line', 'Line'],
['arrow', 'Arrow'], ['arrow', 'Arrow'],