Align context menu to fit within the window bounds
This commit is contained in:
@@ -92,6 +92,8 @@ impl View for ContextMenu {
|
||||
.boxed();
|
||||
|
||||
Overlay::new(expanded_menu)
|
||||
.hoverable(true)
|
||||
.align_to_fit(true)
|
||||
.with_abs_position(self.position)
|
||||
.boxed()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user