cad-editor/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Karim Jerbi eead4eb5f0 perf(props): skip focus sweep when the properties panel is hidden
The global left-click listener fires PropPointerPressed on every mouse
press anywhere in the app, and the handler used to launch a full
widget-tree focus sweep on each one - even when the Properties panel
was closed. Gate the sweep on dock_panel_visible(Properties): when the
panel is hidden the handler now returns Task::none, turning an O(whole
UI) traversal per click into an O(1) boolean check in the common case.

The other sweep call sites already gate via sync_active_field_if_any;
this was the only ungated one.

Tests:
- hidden_properties_panel_skips_the_focus_sweep - a click with the
  panel closed returns a Task::none (units == 0), i.e. no sweep.
- visible_properties_panel_runs_the_focus_sweep - a click with the
  panel open still fires the sweep (units > 0), preserving the
  select-whole-value behavior.
2026-08-15 13:49:26 +01:00
..
app perf(props): skip focus sweep when the properties panel is hidden 2026-08-15 13:49:26 +01:00
entities fix: improve classic leader behavior and annotation linkage 2026-08-13 11:58:54 -03:00
io fix(web): preserve DWG render state 2026-08-11 17:16:46 +03:00
modules feat(hatch): add associative boundaries 2026-08-13 23:47:50 +03:00
plugin fix(plugins): harden marketplace loading 2026-07-30 16:34:07 +03:00
scene fix(dock): block palette reflects new blocks without reopening 2026-08-14 21:21:40 +01:00
shaders fix(hatch): clip fill with kernel mesh 2026-08-13 00:29:03 +03:00
ui feat(plot): read-only rows use the shared selectable read-only field 2026-08-15 11:59:45 +01:00
cli.rs fix(renderer): add automatic compat fallback 2026-07-24 17:05:54 +03:00
command.rs feat(hatch): add associative boundaries 2026-08-13 23:47:50 +03:00
config.rs feat(web): persist browser state 2026-07-29 00:44:00 +03:00
discussions.rs fix(plugins): trust platform certificates 2026-07-29 15:00:07 +03:00
i18n.rs feat(i18n): add seven UI locales 2026-08-14 11:06:53 +03:00
lib.rs feat(locale): add Fluent translations 2026-08-02 18:53:38 +03:00
locale_catalog.rs refactor(i18n): group Fluent attributes 2026-08-09 11:12:47 +03:00
main.rs feat(locale): add Fluent translations 2026-08-02 18:53:38 +03:00
network.rs fix(plugins): trust platform certificates 2026-07-29 15:00:07 +03:00
par.rs feat(wasm): sequential rayon shim for the web build 2026-06-16 17:11:20 +03:00
patreon.rs fix: normalize recent Patreon support 2026-08-04 12:17:21 +03:00
perf.rs perf(scene): make geometry edits incremental 2026-07-28 17:16:27 +03:00
snap.rs fix(snap): align extension tracking 2026-08-09 23:55:06 +03:00
sys.rs fix(linux): focus browser on external links 2026-07-30 21:07:31 +03:00
videos.rs fix(plugins): trust platform certificates 2026-07-29 15:00:07 +03:00