🐛 Fix render shapes in multiple tiles with high dprs (#6538)

This commit is contained in:
Alejandro Alonso 2025-05-22 12:10:51 +02:00 committed by GitHub
parent 58b1cf6b0c
commit ed53793d9d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)
}