Closed
Description
This is what the container looks like:
let area = Area::new(menu_id)
.order(Order::Foreground)
.fixed_pos(pos)
.drag_bounds(Rect::EVERYTHING);
let mut frame = Frame::menu(&style);
frame.shadow = Default::default();
area.show(ctx, |ui| {
frame
.show(ui, |ui| {
//style.visuals.widgets.active.bg_fill = Color32::TRANSPARENT;
style.visuals.widgets.active.bg_stroke = Stroke::none();
//style.visuals.widgets.hovered.bg_fill = Color32::TRANSPARENT;
style.visuals.widgets.hovered.bg_stroke = Stroke::none();
style.visuals.widgets.inactive.bg_fill = Color32::TRANSPARENT;
style.visuals.widgets.inactive.bg_stroke = Stroke::none();
ui.set_style(style);
ui.with_layout(Layout::top_down_justified(Align::LEFT), add_contents)
.inner
})
})
The same thing happens on master with the menu
:
debug on hover also shows that in that area none of the two overlapping widgets are hovered.
I suspect it is something with Context::interact
, but I didn't figure it out yet. Any help would be appreciated 👍🏻
required for #543
Metadata
Metadata
Assignees
Labels
No labels