Use a different fit mode for tooltips

This commit is contained in:
Antonio Scandurra
2022-06-15 16:45:04 +02:00
parent f2a48c6b02
commit 8a146e49ca
3 changed files with 39 additions and 19 deletions
+1 -1
View File
@@ -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()
}