Fix popups sometimes getting clipped by panels
This commit is contained in:
parent
711defddb8
commit
f2dd3dfdd9
2 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,7 @@ NOTE: [`eframe`](eframe/CHANGELOG.md), [`egui_web`](egui_web/CHANGELOG.md), [`eg
|
||||||
* Fix wrongly sized multiline `TextEdit` in justified layouts.
|
* Fix wrongly sized multiline `TextEdit` in justified layouts.
|
||||||
* Fix clip rectangle of windows that don't fit the central area.
|
* Fix clip rectangle of windows that don't fit the central area.
|
||||||
* Show tooltips above widgets on touch screens.
|
* Show tooltips above widgets on touch screens.
|
||||||
|
* Fix popups sometimes getting clipped by panels.
|
||||||
|
|
||||||
|
|
||||||
## 0.14.2 - 2021-08-28 - Window resize fix
|
## 0.14.2 - 2021-08-28 - Window resize fix
|
||||||
|
|
|
@ -240,6 +240,7 @@ fn show_tooltip_area_dyn<'c, R>(
|
||||||
.order(Order::Tooltip)
|
.order(Order::Tooltip)
|
||||||
.fixed_pos(window_pos)
|
.fixed_pos(window_pos)
|
||||||
.interactable(false)
|
.interactable(false)
|
||||||
|
.drag_bounds(Rect::EVERYTHING) // disable clip rect
|
||||||
.show(ctx, |ui| {
|
.show(ctx, |ui| {
|
||||||
Frame::popup(&ctx.style())
|
Frame::popup(&ctx.style())
|
||||||
.show(ui, |ui| {
|
.show(ui, |ui| {
|
||||||
|
|
Loading…
Reference in a new issue