Skip to content

Commit

Permalink
Silly improvement issues/62
Browse files Browse the repository at this point in the history
  • Loading branch information
GiorgosXou committed Jan 5, 2023
1 parent 5b45e00 commit 73f0d4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions TUIFIManager/TUIMenu.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def create(self, atY=None, atX=None):
parent_height = unicurses.getmaxy(self.parent)
if self.x + self.width > parent_width : self.x -= self.width
if self.y + self.height > parent_height: self.y -= self.height
if self.y < 0 : self.y = 0

if self.exists:
unicurses.delwin(self.pad)
Expand Down

0 comments on commit 73f0d4c

Please sign in to comment.