CreateNewImage now remembers the last created canvas size - Closes #178

The default image width, height and fill color are being used only when the program first launches. After that, if the user creates an image with changed settings, these settings are being kept.
This commit is contained in:
OverloadedOrama 2020-07-15 03:25:59 +03:00
parent c6ccbd4868
commit ea717cfea7
4 changed files with 5 additions and 13 deletions

View file

@ -196,7 +196,6 @@ func add_brush() -> void:
dir.list_dir_begin()
var curr_file := dir.get_next()
while curr_file != "":
print(curr_file)
if curr_file.begins_with("%") and brush_name in curr_file:
random_brushes.append(curr_file)
curr_file = dir.get_next()