Skip to content

Commit

Permalink
ScratchABit: Rename main widget class to DisasmViewer.
Browse files Browse the repository at this point in the history
  • Loading branch information
pfalcon committed Mar 27, 2017
1 parent 0fb4680 commit fbdd2c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ScratchABit.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def disasm_one(p):
p.cmd.size = 0


class Editor(editor.EditorExt):
class DisasmViewer(editor.EditorExt):

def __init__(self, *args):
super().__init__(*args)
Expand Down Expand Up @@ -827,7 +827,7 @@ class MainScreen:

def __init__(self):
self.screen_size = Screen.screen_size()
self.e = Editor(1, 2, self.screen_size[0] - 2, self.screen_size[1] - 4)
self.e = DisasmViewer(1, 2, self.screen_size[0] - 2, self.screen_size[1] - 4)

menu_file = WMenuBox([
("Save (Shift+s)", b"S"), ("Write disasm (Shift+w)", b"W"),
Expand Down

0 comments on commit fbdd2c1

Please sign in to comment.