mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-21 14:56:37 +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):
|
def canvasImportEmpty(pathName):
|
||||||
nonlocal newCanvasSize
|
nonlocal newCanvasSize
|
||||||
if newCanvasSize == None:
|
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])]
|
newMap = [[[*self.parentCanvas.brushColours, 0, " "] for x in range(newCanvasSize[0])] for y in range(newCanvasSize[1])]
|
||||||
return (True, "", newMap, None, newCanvasSize)
|
return (True, "", newMap, None, newCanvasSize)
|
||||||
if self._promptSaveChanges():
|
if self._promptSaveChanges():
|
||||||
|
Loading…
Reference in New Issue
Block a user