aboutsummaryrefslogtreecommitdiff
path: root/editor/property_editor.cpp
diff options
context:
space:
mode:
authorMariano Suligoy2017-06-18 17:16:54 -0300
committerMariano Suligoy2017-06-19 09:23:57 -0300
commitf5185e7ba67a2c09db64e03b3fcd85add7e5dea8 (patch)
treea12db0c1815b5a1fbb01dcabc9d7cab22e36d5aa /editor/property_editor.cpp
parent33bf180067eb0beb1a514adcdfb6a59cc5f4ac55 (diff)
downloadgodot-f5185e7ba67a2c09db64e03b3fcd85add7e5dea8.tar.gz
godot-f5185e7ba67a2c09db64e03b3fcd85add7e5dea8.tar.zst
godot-f5185e7ba67a2c09db64e03b3fcd85add7e5dea8.zip
Fix ColorPicker's screen pick functionality
Diffstat (limited to 'editor/property_editor.cpp')
-rw-r--r--editor/property_editor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/property_editor.cpp b/editor/property_editor.cpp
index 3d3fecc8f..da26c84e4 100644
--- a/editor/property_editor.cpp
+++ b/editor/property_editor.cpp
@@ -65,6 +65,9 @@ void CustomPropertyEditor::_notification(int p_what) {
VisualServer::get_singleton()->canvas_item_add_rect(ci, Rect2( 10,10,60, get_size().height-20 ), v );
}*/
}
+ if (p_what == MainLoop::NOTIFICATION_WM_QUIT_REQUEST) {
+ hide();
+ }
}
void CustomPropertyEditor::_menu_option(int p_which) {