1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-16 14:00:40 +00:00

EditorNode: enhance save/quit dialog

This commit is contained in:
Poommetee Ketson
2017-06-26 21:04:53 +07:00
parent 1453d67145
commit a9367ce6bc
3 changed files with 79 additions and 52 deletions

View File

@@ -517,6 +517,9 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
set("interface/separate_distraction_mode", false);
set("interface/save_each_scene_on_quit", true); // Regression
set("interface/quit_confirmation", true);
set("interface/theme/preset", 0);
hints["interface/theme/preset"] = PropertyInfo(Variant::INT, "interface/theme/preset", PROPERTY_HINT_ENUM, "Default,Grey,Godot 2,Arc,Custom", PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_RESTART_IF_CHANGED);
set("interface/theme/base_color", Color::html("#273241"));