mirror of
https://github.com/penpot/penpot.git
synced 2026-09-19 10:26:14 +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) {
|
||||
self.surfaces.clear_tile_atlas();
|
||||
self.surfaces.invalidate_tile_cache();
|
||||
|
||||
if self.viewer_masked_pass() {
|
||||
self.surfaces.clear_backbuffer(skia::Color::TRANSPARENT);
|
||||
}
|
||||
}
|
||||
|
||||
/// NOTE:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user