mirror of
https://github.com/storytold/deckcraft.git
synced 2026-11-30 22:10:04 +00:00
canvas: the slide page takes a thin edge on a flat surround, as production
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
cc932416c3
commit
33c0eeeb98
@@ -83,7 +83,7 @@ pub(crate) fn show(app: &mut SlideApp, ui: &mut Ui) {
|
||||
let mut ask = None;
|
||||
let mut view = space.target();
|
||||
let pages = if empty { Vec::new() } else { vec![PageFrame::new(document)] };
|
||||
Pasteboard::new(Word::plain("Slide pasteboard"), &pages).border(PageBorder::DropShadow).show_at(ui, body.rect);
|
||||
Pasteboard::new(Word::plain("Slide pasteboard"), &pages).border(PageBorder::Line).show_at(ui, body.rect);
|
||||
if empty {
|
||||
let mut prompt = Text::new(Word::plain("Click to add first slide")).role(TypeRole::Heading).shade(Shade::Muted);
|
||||
let extent = prompt.measure_in(ui, Proposal::Width(body.rect.width()));
|
||||
|
||||
Reference in New Issue
Block a user