Merge pull request #6121 from penpot/superalex-tada-improve-tile-shapes-iteration-2

🎉 Improve tile shapes iteration
This commit is contained in:
Alejandro 2025-03-21 07:30:52 +01:00 committed by GitHub
commit 4c12af957c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 21 additions and 19 deletions

View file

@ -60,10 +60,6 @@ impl TileHashMap {
}
}
pub fn has_shapes_at(&mut self, tile: Tile) -> bool {
return self.grid.contains_key(&tile);
}
pub fn get_shapes_at(&mut self, tile: Tile) -> Option<&IndexSet<Uuid>> {
return self.grid.get(&tile);
}