mirror of
https://github.com/lalbornoz/roar.git
synced 2024-12-22 04:16:38 +00:00
Hard-wire default canvas size on New to [100, 30].
This commit is contained in:
parent
0c66f94797
commit
c8a048403a
@ -247,7 +247,7 @@ class RoarCanvasCommandsFile():
|
||||
def canvasImportEmpty(pathName):
|
||||
nonlocal newCanvasSize
|
||||
if newCanvasSize == None:
|
||||
newCanvasSize = list(self.parentCanvas.canvas.size)
|
||||
newCanvasSize = [100, 30]
|
||||
newMap = [[[*self.parentCanvas.brushColours, 0, " "] for x in range(newCanvasSize[0])] for y in range(newCanvasSize[1])]
|
||||
return (True, "", newMap, None, newCanvasSize)
|
||||
if self._promptSaveChanges():
|
||||
|
Loading…
Reference in New Issue
Block a user