Remove redundant redraw method

This commit is contained in:
Daniel Silverstone 2018-11-03 16:12:14 +00:00
parent 7cc1f1bfc0
commit 94bba97a45

View File

@ -232,13 +232,6 @@ class BrowserWindow:
def reload(self):
self.browser.farmer.tell_monkey("WINDOW RELOAD %s" % self.winid)
def redraw(self, coords=None):
if coords is None:
self.browser.farmer.tell_monkey("WINDOW REDRAW %s" % self.winid)
else:
self.browser.farmer.tell_monkey("WINDOW REDRAW %s %s" % (
self.winid, (" ".join(coords))))
def handle(self, action, *args):
handler = getattr(self, "handle_window_" + action, None)
if handler is not None: