Snap overlay's bottom/right edge to same window's edge on overflow

This commit is contained in:
Antonio Scandurra 2022-06-09 13:21:27 +02:00
parent e0ecf3bc4c
commit ea8b5016f7
4 changed files with 20 additions and 11 deletions

View file

@ -79,7 +79,7 @@ impl Tooltip {
})
.boxed(),
)
.align_to_fit(true)
.move_to_fit(true)
.with_abs_position(state.position.get())
.boxed(),
)