mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Update src/textual/_spatial_map.py
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
This commit is contained in:
@@ -73,7 +73,7 @@ class SpatialMap(Generic[ValueType]):
|
|||||||
self.total_region = total_region
|
self.total_region = total_region
|
||||||
|
|
||||||
def get_values_in_region(self, region: Region) -> list[ValueType]:
|
def get_values_in_region(self, region: Region) -> list[ValueType]:
|
||||||
"""Get a set of values that are under a given region.
|
"""Get a superset of all the values that intersect with a given region.
|
||||||
|
|
||||||
Note that this may return false positives.
|
Note that this may return false positives.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user