Skip to content

Commit

Permalink
Remember canvas color for unsaved projects
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrlabs committed Aug 16, 2022
1 parent 2456cad commit b7b6499
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lorien/Main.gd
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ func _on_canvas_background_changed(color: Color) -> void:
_canvas.set_background_color(color)
var project: Project = ProjectManager.get_active_project()
if project != null:
project.meta_data[ProjectMetadata.CANVAS_COLOR] = color.to_html()
project.dirty = true

# -------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit b7b6499

Please sign in to comment.