Trim Whitespace lib directory

This commit is contained in:
Metallicow
2016-10-12 22:21:38 -05:00
parent 576cf1d966
commit a8452dd575
56 changed files with 1669 additions and 1669 deletions

View File

@@ -38,7 +38,7 @@ def AdjustRectToScreen(rect, adjust=(0,0)):
:rtype: `rect`
"""
assert isinstance(rect, wx.Rect)
if -1 in rect.Get():
# bail out if there are any -1's in the dimensions
@@ -74,7 +74,7 @@ def AdjustRectToScreen(rect, adjust=(0,0)):
if rect.top < ca.top:
rect.height -= (ca.top - rect.top)
rect.top = ca.top
# make final adjustments if needed
adjust = wx.Size(*adjust)
if rect.width > (ca.width - adjust.width):