Fix overflow of graphics primitives in overlays
... by using `overlay_bounds` instead of `viewport` as clip bounds for overlay layer in `UserInterface::draw`
This commit is contained in:
parent
d165b789df
commit
92b3b169c6
1 changed files with 1 additions and 1 deletions
|
|
@ -409,7 +409,7 @@ where
|
|||
|
||||
let overlay_bounds = layer.layout.bounds();
|
||||
|
||||
renderer.with_layer(viewport, |renderer| {
|
||||
renderer.with_layer(overlay_bounds, |renderer| {
|
||||
overlay.draw(
|
||||
renderer,
|
||||
&renderer::Style::default(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue