mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-01 05:58:19 -06:00
Merge #2367 (egui 0.37) into craft-ui-docking
# Conflicts: # Cargo.lock # Cargo.toml # apps/effectcraft/src/main.rs # crates/ui-egui/src/control.rs # crates/ui-egui/src/dock.rs # crates/ui-egui/src/dock_ui.rs # crates/ui-egui/src/lib.rs # crates/ui-egui/tests/it/shared_docking_ui.rs # crates/ui-egui/tests/it/ui_dock_resize.rs # crates/ui-egui/tests/it/ui_panel_windows.rs # crates/ui-egui/tests/it/ui_workspace_focus.rs
This commit is contained in:
@@ -126,7 +126,7 @@ frames and can be assigned through `shortcuts.set`.
|
||||
|
||||
| Method | Params | Result |
|
||||
|---|---|---|
|
||||
| `ui.screenshot` | `{path?, panel?, id?}` | `{path, width, height}`: a PNG of the window, or cropped to one panel or element. |
|
||||
| `ui.screenshot` | `{path?, panel?, id?}` | `{path, width, height}`: a PNG of the window, or cropped to one panel or element. The panel or element rectangle is resolved when the capture is issued (after the UI settles), so it follows a panel that moved; a panel or id that is not on screen is retried and then reported, never replaced by a whole-window shot. |
|
||||
|
||||
Element ids are stable, for example `tools.Selection`, `panel.Timeline`, `panel.tab.EffectControls`,
|
||||
`panel.tab.Timeline.<comp>` (one Timeline tab per open comp; `panel.tab.Timeline` is the shown
|
||||
|
||||
Reference in New Issue
Block a user