mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-29 04:47:10 -06:00
* Clippy 1.96: simplify boolean guards, drop a needless drop() Rust 1.96's clippy flags nonminimal_bool in find_pattern, table_mouse and table_resize, and drop_non_drop in a ribbon test; `cargo xtask ci` failed at clippy on main. Same logic, rewritten as clippy suggests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * UI: combo boxes join their dropdown arrow (field rounded left, arrow right) The font and size boxes looked apart from their arrows: the text field was rounded on all four corners and the arrow on none, leaving a notch where they meet. The field now rounds only its left corners (in every widget state, including focus and hover) and the arrow only its right ones, so the two read as one control. Applies to every combo drawn by widgets::combo/font_combo: the ribbon's font, size and outline-level boxes, the mini toolbar, and the Font and Symbol dialogs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * UI: one divider between a combo's field and its arrow The field's right border and the arrow's left border stood side by side, a divider twice as wide as the rest of the outline. The arrow's box is now painted under the field and reaches one border width beneath it, so the field's right border is the only line between them (in the field's focus colour while typing). The test draws with the app's light and dark themes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>