mirror of
https://github.com/penpot/penpot.git
synced 2025-06-26 23:57:00 +02:00
🐛 Fix render shapes in multiple tiles with high dprs (#6538)
This commit is contained in:
parent
58b1cf6b0c
commit
ed53793d9d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue