mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-31 21:37:08 -06:00
* Numeric fields: typed units, scrubby labels, double-click reset (#3099) - Value fields convert a unit typed after a number into the field's unit (1in, 2.54cm, 72pt, 1pica/pc, 10px, 50%) at the active document's resolution; Image Size and New Document use their own resolution. A unit that can't convert, or bad arithmetic, keeps the old value. - widgets::scrub_label: dragging a label scrubs the value field right after it on its row (a step a point, Shift x10, Alt a tenth as fast), with a horizontal-resize cursor. Used by options-bar labels, slider rows and the Character panel icons. A slider row reports the scrub as one drag, so adjustment edits coalesce into one history step. - Adjustment slider rows with a known default and filter dialog sliders reset on double-click, like Color Balance already did. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Scrubby labels: drag-only, not focusable, so Tab skips them Sense::drag() is focusable in egui 0.36, so every scrubby label became an extra Tab stop and tab_focus_reveals_the_final_narrow_tool_option could no longer reach the last tool option. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Brandon Thomas <echelon@gmail.com>