mirror of
https://github.com/penpot/penpot.git
synced 2026-09-30 15:56:17 +00:00
🐛 Fix fixed-scroll on the viewer (#11752)
This commit is contained in:
parent
cc9c60507d
commit
4c940296f1
@ -1066,6 +1066,10 @@ impl RenderState {
|
|||||||
pub fn prepare_sync_shape_render(&mut self) {
|
pub fn prepare_sync_shape_render(&mut self) {
|
||||||
self.surfaces.clear_tile_atlas();
|
self.surfaces.clear_tile_atlas();
|
||||||
self.surfaces.invalidate_tile_cache();
|
self.surfaces.invalidate_tile_cache();
|
||||||
|
|
||||||
|
if self.viewer_masked_pass() {
|
||||||
|
self.surfaces.clear_backbuffer(skia::Color::TRANSPARENT);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// NOTE:
|
/// NOTE:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user