projects
/
erdslangetjie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d95fc85
)
Fix editor level loading and size
author
Neil
<neil@dip.sun.ac.za>
Mon, 15 Apr 2013 14:31:10 +0000
(16:31 +0200)
committer
Neil
<neil@dip.sun.ac.za>
Mon, 15 Apr 2013 14:31:10 +0000
(16:31 +0200)
erdslangetjie/editor/editor.py
patch
|
blob
|
history
diff --git
a/erdslangetjie/editor/editor.py
b/erdslangetjie/editor/editor.py
index c2d2745559801cada06ce3fe2f042c4edfbf9ca9..45545a2830aba42fbbacbe9f99cc88fb22c3d692 100644
(file)
--- a/
erdslangetjie/editor/editor.py
+++ b/
erdslangetjie/editor/editor.py
@@
-17,7
+17,7
@@
from erdslangetjie.level import Level
class EditorWindow(FloatLayout):
def __init__(self, level):
- super(EditorWindow, self).__init__(size=(
960, 96
0))
+ super(EditorWindow, self).__init__(size=(
648, 48
0))
if os.path.exists(filepath(level)):
level_data = load(level)
self.level = level
@@
-34,6
+34,7
@@
class EditorWindow(FloatLayout):
self.level_obj = Level()
self.level_obj.load(level_data)
level_data.close()
+ self.level_obj.load_tiles()
def build(self):
self.clear_widgets()