Fix Clip primitive translation in iced_tiny_skia
This commit is contained in:
parent
5fd5d1cdf8
commit
5c0427edbb
2 changed files with 2 additions and 2 deletions
|
|
@ -145,7 +145,7 @@ impl Application for GameOfLife {
|
|||
self.grid
|
||||
.view()
|
||||
.map(move |message| Message::Grid(message, version)),
|
||||
controls
|
||||
controls,
|
||||
];
|
||||
|
||||
container(content)
|
||||
|
|
|
|||
|
|
@ -221,7 +221,7 @@ impl Backend {
|
|||
pixels,
|
||||
Some(&rectangular_clip_mask(
|
||||
pixels,
|
||||
*bounds * scale_factor,
|
||||
(*bounds + translation) * scale_factor,
|
||||
)),
|
||||
scale_factor,
|
||||
translation,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue