Skip to content

Commit

Permalink
Fix demo
Browse files Browse the repository at this point in the history
  • Loading branch information
abey79 committed Jun 4, 2024
1 parent 999cd42 commit 09ab801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui_demo_lib/src/demo/misc_demo_window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ fn ui_stack_demo(ui: &mut Ui) {
with various information.\n\nThis is how the stack looks like here:",
);
});
let stack = ui.stack();
let stack = ui.stack().clone();
Frame {
inner_margin: ui.spacing().menu_margin,
stroke: ui.visuals().widgets.noninteractive.bg_stroke,
Expand Down

0 comments on commit 09ab801

Please sign in to comment.