M13.31: Home screen laid out like After Effects'
- Home covers the whole workspace below the Tools bar (the panels wait behind it) instead of the Composition panel. - Left rail: New Project (primary) and Open Project, the Home / Templates / Learn pages with icons, and the community links and ArtCraft apps at its foot. - Home page: "Welcome to EffectCraft", quick-start tiles (New Composition, Open Demo Project, Import Footage, New from Template) and Recent as a table — thumbnail, name and folder, Opened (relative), Size, Kind — with a filter field, Clear list and an empty state. - Theme tokens throughout (light themes follow); web_time for "now" (works on the web). - Tests: formatters (opened / size / kind) and the new automation ids. Docs: parity. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
2039688245
commit
d31094692e
@@ -160,6 +160,13 @@ impl EffectcraftApp {
|
||||
pub(crate) fn dock_area(&mut self, ui: &mut egui::Ui, body: Rect) {
|
||||
let t = self.tokens;
|
||||
let ctx = ui.ctx().clone();
|
||||
if self.ui.start_screen {
|
||||
// Home covers the whole workspace, as in After Effects (the panels wait behind it).
|
||||
let mut child = ui.new_child(egui::UiBuilder::new().max_rect(body).id_salt("home"));
|
||||
child.set_clip_rect(body.intersect(ui.clip_rect()));
|
||||
panels::home::show(self, &mut child, body);
|
||||
return;
|
||||
}
|
||||
// The maximized panel fills the area; the tree is kept as it is.
|
||||
let maximized = self.ui.maximized.filter(|m| self.ui.dock.contains(*m));
|
||||
let mut dock = match maximized {
|
||||
|
||||
Reference in New Issue
Block a user