fix(editor): guard flex children on drag + property-panel and desktop chrome fixes

Canvas / layout:
- Guard flex flow-children from free-drag and add a 4px drag threshold,
  so a first click no longer materializes x/y on a flow child and
  collapses the auto-layout frame.

Property panel:
- Gap/justify radios disable the gap input on space-between/around;
  compact gap rows with vertically-centered input text.
- Padding-mode gear popover hover; the pin is anchor-scoped so it no
  longer leaks into the next selection.
- Font-weight dropdown: full 100-900 numeric options + row hover.
- Stroke hex seeds the displayed swatch colour (not #000000); stroke
  width now persists on commit.

Desktop:
- Traffic-light inset now applies on launch (casement windowDidBecomeKey).
- File-drop overlay; git commit caret blink.

Refactor:
- Split property_dispatch / git_panel / property-panel tests under the
  800-line cap; reorganise panel tests by topic.
This commit is contained in:
Kayshen-X 2026-05-31 09:18:04 +08:00
parent d02d34c57d
commit d2f901380a
2 changed files with 2 additions and 0 deletions

View file

@ -439,6 +439,7 @@ impl AgentSettings {
)
}
#[allow(clippy::too_many_arguments)]
pub fn add_acp_agent_config(
&mut self,
display_name: impl Into<String>,

View file

@ -169,6 +169,7 @@ pub fn flex_frame(
..Default::default()
},
children: Some(children),
image_search_query: None,
reusable: None,
slot: None,
state: None,