Fix numerous typos/bugs in previous commit.
This commit is contained in:
+2
-2
@@ -178,7 +178,8 @@ class Hud:
|
||||
if not type(w) == int: # how do we get pure ints in this list??
|
||||
(x, y) = loc[adj[i]]
|
||||
w.relocate(x, y)
|
||||
|
||||
[aw.relocate(self.table.x, self.table.y) for aw in self.aux_windows]
|
||||
|
||||
return True
|
||||
|
||||
def on_button_press(self, widget, event):
|
||||
@@ -204,7 +205,6 @@ class Hud:
|
||||
def reposition_windows(self, *args):
|
||||
if self.stat_windows != {} and len(self.stat_windows) > 0:
|
||||
(x.window.move(x.x, x.y) for x in self.stat_windows.itervalues() if type(x) != int)
|
||||
[aw.relocate(self.hud.x, self.hud.y) for aw in self.aux_windows]
|
||||
return True
|
||||
|
||||
def debug_stat_windows(self, *args):
|
||||
|
||||
Reference in New Issue
Block a user