mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-28 04:17:06 -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: mini toolbar steps aside for the ribbon The mini toolbar covered the ribbon's drop-downs (the font size list opened under it). A press outside the document and the bar (the ribbon, a pane, the rulers, the status bar) now puts the bar away until the selection changes or the next press in the document; presses on popups (the bar's own lists, an open ribbon list over the page) neither hide nor restore it. The bar also moves from the Tooltip layer to Middle, so every popup and menu draws over it, as its comment always said. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * UI: mini toolbar scrolls under the ribbon, not over it With text selected, scrolling the selection up toward the ribbon carried the mini toolbar along on top of the rulers and ribbon. The bar is now clipped to the document area: it slides under the rulers and ribbon (or the status bar) with the text and goes once none of it shows. Its area is constrained to the document for hit testing too, so the hidden part no longer swallows clicks and drags meant for the ruler or the ribbon underneath. 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>