mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-11-13 05:53:53 +01:00
Fix preference key typo
This commit is contained in:
parent
faf6cce3ad
commit
9dc560d92f
@ -101,7 +101,7 @@ event_inherited();
|
|||||||
ds_list_add(pref_global, __txt("Paths"));
|
ds_list_add(pref_global, __txt("Paths"));
|
||||||
|
|
||||||
ds_list_add(pref_global, new __Panel_Linear_Setting_Item(
|
ds_list_add(pref_global, new __Panel_Linear_Setting_Item(
|
||||||
__txtx("pref_directory", "Directory path (restart required)"),
|
__txtx("pref_directory", "Main directory path*"),
|
||||||
new textBox(TEXTBOX_INPUT.text, function(txt) {
|
new textBox(TEXTBOX_INPUT.text, function(txt) {
|
||||||
PRESIST_PREF.path = txt;
|
PRESIST_PREF.path = txt;
|
||||||
json_save_struct(APP_DIRECTORY + "persistPreference.json", PRESIST_PREF);
|
json_save_struct(APP_DIRECTORY + "persistPreference.json", PRESIST_PREF);
|
||||||
@ -118,7 +118,7 @@ event_inherited();
|
|||||||
));
|
));
|
||||||
|
|
||||||
ds_list_add(pref_global, new __Panel_Linear_Setting_Item_Preference(
|
ds_list_add(pref_global, new __Panel_Linear_Setting_Item_Preference(
|
||||||
__txtx("pref_directory_temp", "Temp path (restart required)"),
|
__txtx("pref_directory_temp", "Temp directory path*"),
|
||||||
"temp_path",
|
"temp_path",
|
||||||
new textBox(TEXTBOX_INPUT.text, function(txt) { PREFERENCES.temp_path = txt; PREF_SAVE(); })
|
new textBox(TEXTBOX_INPUT.text, function(txt) { PREFERENCES.temp_path = txt; PREF_SAVE(); })
|
||||||
.setSideButton(button(function() { PREFERENCES.temp_path = get_directory(PREFERENCES.temp_path); PREF_SAVE(); }, THEME.button_path_icon))
|
.setSideButton(button(function() { PREFERENCES.temp_path = get_directory(PREFERENCES.temp_path); PREF_SAVE(); }, THEME.button_path_icon))
|
||||||
@ -218,7 +218,7 @@ event_inherited();
|
|||||||
));
|
));
|
||||||
|
|
||||||
ds_list_add(pref_global, new __Panel_Linear_Setting_Item_Preference(
|
ds_list_add(pref_global, new __Panel_Linear_Setting_Item_Preference(
|
||||||
__txtx("pref_enable_test_mode", "Enable developer mode (require restart)"),
|
__txtx("pref_enable_test_mode", "Enable developer mode*"),
|
||||||
"test_mode",
|
"test_mode",
|
||||||
new checkBox(function() {
|
new checkBox(function() {
|
||||||
PREFERENCES.test_mode = !PREFERENCES.test_mode;
|
PREFERENCES.test_mode = !PREFERENCES.test_mode;
|
||||||
@ -373,7 +373,7 @@ event_inherited();
|
|||||||
|
|
||||||
ds_list_add(pref_appr, new __Panel_Linear_Setting_Item_Preference(
|
ds_list_add(pref_appr, new __Panel_Linear_Setting_Item_Preference(
|
||||||
__txtx("pref_inspector_focus_on_double_click", "Focus on double click"),
|
__txtx("pref_inspector_focus_on_double_click", "Focus on double click"),
|
||||||
"PREFERENCES.inspector_focus_on_double_click",
|
"inspector_focus_on_double_click",
|
||||||
new checkBox(function(str) {
|
new checkBox(function(str) {
|
||||||
PREFERENCES.inspector_focus_on_double_click = !PREFERENCES.inspector_focus_on_double_click;
|
PREFERENCES.inspector_focus_on_double_click = !PREFERENCES.inspector_focus_on_double_click;
|
||||||
PREF_SAVE();
|
PREF_SAVE();
|
||||||
|
Loading…
Reference in New Issue
Block a user