#716 move goto button one level down

This commit is contained in:
jglad
2025-03-10 18:02:43 +01:00
parent d629ea893a
commit 02ec025096
2 changed files with 2 additions and 1 deletions

View File

@@ -370,6 +370,7 @@ fn image_carousel(
let cache_type = current_image.clone().1;
Window::new("image_popup")
.order(egui::Order::Foreground)
.title_bar(false)
.fixed_size(ui.ctx().screen_rect().size())
.frame(egui::Frame::none())

View File

@@ -119,7 +119,7 @@ fn timeline_ui(
let goto_top_resp = if show_top_button {
let top_button_pos = ui.available_rect_before_wrap().right_top() - vec2(48.0, -24.0);
egui::Area::new(ui.id().with("foreground_area"))
.order(egui::Order::Foreground)
.order(egui::Order::Middle)
.fixed_pos(top_button_pos)
.show(ui.ctx(), |ui| Some(ui.add(goto_top_button(top_button_pos))))
.inner