🐛 Fix fixed-scroll on the viewer (#11752)

This commit is contained in:
Elena Torró 2026-09-17 09:43:13 +02:00 committed by GitHub
parent cc9c60507d
commit 4c940296f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: