Files
OneCAD/crates/ui-egui/tests/scenarios/sketch_dialog_keeps_the_palette.json
T
William Dunn de1479029d A sketch dialog and the Sketch Palette on screen at the same time (#791)
A command dialog opened while sketching no longer hides the Sketch Palette: the dialog docks at the left of the viewport and the palette keeps the right. A view too narrow for both keeps the dialog alone.
2026-10-13 13:41:46 -04:00

22 lines
1014 B
JSON

[
{"note": "A command dialog opened while a sketch is being edited no longer hides the Sketch Palette. The dialog docks at the left edge of the viewport, the palette keeps the right edge, and neither covers the other. Finish Sketch and the Sketch Status readout stay reachable the whole time."},
{"start": "sketch.create"},
{"click": {"plane": "XY"}},
{"start": "sketch.rectangle.two_point"},
{"click": {"sketch": [0, 0]}},
{"click": {"sketch": [40, 30]}},
{"key": "Escape"},
{"expect": {"sketching": true}},
{"expect": {"dialog": null}},
{"expect": {"shown_handles": ["sketch_palette:finish"]}},
{"start": "inspect.measure"},
{"expect": {"dialog": "Measure"}},
{"expect": {"shown_handles": ["sketch_palette:finish"]}},
{"expect": {"disjoint": ["sketch_palette:outer", "dialog:outer"]}},
{"shot": "sketch_dialog_keeps_the_palette"},
{"widget": "Close"},
{"expect": {"dialog": null}},
{"expect": {"sketching": true}},
{"expect": {"shown_handles": ["sketch_palette:finish"]}}
]