Skip to content

Commit 9a1fb2f

Browse files
committed
update panel side
1 parent 18f1e08 commit 9a1fb2f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

openglider/glider/cell/panel.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,7 @@ def __add__(self, other: Panel) -> Panel | None:
278278
return None
279279

280280
def is_lower(self) -> bool:
281-
if (self.cut_front.x_left + self.cut_back.x_left) >= 1e-3:
282-
return True
283-
if (self.cut_front.x_right + self.cut_back.x_right) >= 1e-3:
281+
if (self.cut_front.x_left + self.cut_back.x_left + self.cut_front.x_right + self.cut_back.x_right) >= 1e-3:
284282
return True
285283

286284
return False

0 commit comments

Comments
 (0)