Repository navigation
0.4.1
- 撤销 / 清空在框内打字时不再置灰。 以前这两个按钮的可用性只看"已提交的操作历史",而你正在输入框里打的字还没落进历史,于是它们一直是灰的。现在:撤销 = 放弃这段还没落下的文字(等同 Esc),清空 = 放弃这段文字并清掉已画的标注;只有确实没东西可撤/可清时才置灰,两个键都带 tooltip 说明当前作用。
- 框内输入框的占位提示改为跟随框的颜色,浅色图和深色图上都看得清。
- 同步更新
assets/screenshot-1-editor.png(旧图正好拍的是"两个按钮灰着"的状态)。
Undo / Clear are no longer greyed out while you are typing inside a text frame. Undo now discards the in-progress frame text (same as Esc) and Clear discards it and wipes the committed annotations; both are greyed out only when there is genuinely nothing to undo or clear, and each explains itself in a tooltip. The in-place textarea placeholder now follows the frame colour.
Install
dsh plugin --profile web add github:janewas/dsh-image-annotate
Or download dsh-image-annotate.tgz below and run bash install.sh inside the unpacked folder (idempotent, live without a restart). Verified on DSH 2.x web profile; the tarball below was installed into a clean DSH_HOME and re-tested end-to-end.