From d7f463f3eb51a22e231a017004098cf82781c64c Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Mon, 4 Jul 2022 21:01:11 +0100 Subject: [PATCH] remove method --- src/textual/geometry.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/textual/geometry.py b/src/textual/geometry.py index 826aa4b15..4bca0da80 100644 --- a/src/textual/geometry.py +++ b/src/textual/geometry.py @@ -459,11 +459,6 @@ class Region(NamedTuple): height + expand_height * 2, ) - def enlarge(self, size: tuple[int, int]) -> Region: - add_width, add_height = size - x, y, width, height = self - return Region(x, y, width + add_width, height + add_height) - @lru_cache(maxsize=1024) def overlaps(self, other: Region) -> bool: """Check if another region overlaps this region.