From 2380719a3fe09282f5717f1dbb8a82a09fbd0ee1 Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 11 Dec 2019 14:45:03 -0300 Subject: [PATCH] Fix some comments in app_preferences.lua --- scripts/app_preferences.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/app_preferences.lua b/scripts/app_preferences.lua index 5737c86aa..9c2a96c4f 100644 --- a/scripts/app_preferences.lua +++ b/scripts/app_preferences.lua @@ -39,7 +39,7 @@ do -- Set default preferences local defPref = app.preferences.document(nil) defPref.grid.bounds = Rectangle(0, 0, 10, 10) - defPref.grid.color = Color(255, 255, 0) -- White + defPref.grid.color = Color(255, 255, 0) -- Yellow assert(defPref.grid.bounds == Rectangle(0, 0, 10, 10)) assert(defPref.grid.color == Color(255, 255, 0)) @@ -56,7 +56,7 @@ do do -- File with specific preferences local doc = Sprite(32, 32) local docPref = app.preferences.document(doc) - docPref.grid.color = Color(0, 128, 0) + docPref.grid.color = Color(0, 128, 0) -- Green assert(docPref.grid.bounds == Rectangle(0, 0, 10, 10)) assert(docPref.grid.color == Color(0, 128, 0)) doc:saveAs('_test_pref2.png')