mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
null offset
This commit is contained in:
@@ -322,7 +322,7 @@ class Region(NamedTuple):
|
||||
|
||||
if region in window_region:
|
||||
# Region is already inside the window, so no need to move it.
|
||||
return Offset(0, 0)
|
||||
return NULL_OFFSET
|
||||
|
||||
window_left, window_top, window_right, window_bottom = window_region.corners
|
||||
region = region.crop_size(window_region.size)
|
||||
|
||||
Reference in New Issue
Block a user