mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
🐛 Fix render shapes in multiple tiles with high dprs (#6538)
This commit is contained in:
@@ -936,7 +936,7 @@ impl RenderState {
|
||||
}
|
||||
|
||||
pub fn get_tiles_for_shape(&mut self, shape: &Shape) -> TileRect {
|
||||
let tile_size = tiles::get_tile_size(self.viewbox.zoom);
|
||||
let tile_size = tiles::get_tile_size(self.get_scale());
|
||||
tiles::get_tiles_for_rect(shape.extrect(), tile_size)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user