Karim Jerbi
8ef65f59f8
fix(ribbon): highlight toggle buttons by their actual state
...
The UCS Icon, Properties, File Tabs, and Layout Tabs buttons were highlighted unconditionally because their ids fell through to an active_tool equality check in is_active_tool, which activate_tool sets on every click and never clears. Each id is now mapped to its corresponding visibility flag (show_ucs_icon, show_properties, show_file_tabs, show_layout_tabs), and those flags are kept in sync from their toggle handlers so the highlight reflects live state. The per-toggle booleans previously threaded through the render path are consolidated into a single ToggleState struct read from one place, so introducing a further toggle no longer requires changing every render-function signature and call site.
2026-07-12 19:53:48 +03:00
..
commands
fix(ribbon): highlight toggle buttons by their actual state
2026-07-12 19:53:48 +03:00
update
fix(ribbon): highlight toggle buttons by their actual state
2026-07-12 19:53:48 +03:00
view
fix(precision): keep typed coordinates exact in f64 ( #311 )
2026-07-11 21:26:40 +03:00
alias.rs
feat(alias): centralize command aliases in user-editable ocad.pgp (#286/#288)
2026-07-10 12:39:22 +03:00
automation.rs
fix(rotate): apply a typed angle right after the centre ( #159 )
2026-06-25 19:58:45 +03:00
command_driver.rs
fix(precision): keep BLOCK base and TEXT/MTEXT insertion points in f64 ( #311 )
2026-07-12 00:34:26 +03:00
config.rs
refactor(config): consolidate settings into one grouped settings.json
2026-07-10 16:41:34 +03:00
document.rs
fix(precision): keep typed coordinates exact in f64 ( #311 )
2026-07-11 21:26:40 +03:00
expr_eval.rs
fix(expr-eval): bound eval_to_string against super-linear DoS
2026-06-28 22:41:02 +03:00
helpers.rs
fix(precision): keep typed coordinates exact in f64 ( #311 )
2026-07-11 21:26:40 +03:00
history.rs
feat(sysvars): persist Ortho, running OSNAP and Isolate in the drawing
2026-07-10 15:45:08 +03:00
layers.rs
refactor: move resource/IO root modules under io/
2026-06-26 23:06:40 +03:00
mod.rs
fix(precision): keep typed coordinates exact in f64 ( #311 )
2026-07-11 21:26:40 +03:00
model_ops.rs
fix(web): restore wasm build broken by SECTION + file association
2026-06-29 17:13:17 +03:00
mtext_editor.rs
fix(precision): keep BLOCK base and TEXT/MTEXT insertion points in f64 ( #311 )
2026-07-12 00:34:26 +03:00
plugin_host.rs
fix(plugin): auto-register unknown layers so added entities survive DWG save ( #252 )
2026-07-02 20:36:16 +03:00
properties.rs
feat(properties): show Annotative state + applied annotation scale
2026-07-12 19:26:11 +03:00
recent.rs
feat(thumbnail): embed a DWG preview on save, show it on the Start page
2026-07-10 23:03:23 +03:00
settings.rs
refactor(config): consolidate settings into one grouped settings.json
2026-07-10 16:41:34 +03:00
style_ops.rs
chore: clear compiler warnings
2026-06-18 21:18:09 +03:00
text_inline.rs
fix(precision): keep BLOCK base and TEXT/MTEXT insertion points in f64 ( #311 )
2026-07-12 00:34:26 +03:00
visibility.rs
refactor(scene): group modules into role-based subfolders
2026-06-16 11:33:46 +03:00