Use a different fit mode for tooltips
This commit is contained in:
parent
f2a48c6b02
commit
8a146e49ca
3 changed files with 39 additions and 19 deletions
|
@ -94,7 +94,7 @@ impl View for ContextMenu {
|
|||
|
||||
Overlay::new(expanded_menu)
|
||||
.hoverable(true)
|
||||
.move_to_fit(true)
|
||||
.fit_mode(OverlayFitMode::SnapToWindow)
|
||||
.with_abs_position(self.position)
|
||||
.boxed()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue