From f5185e7ba67a2c09db64e03b3fcd85add7e5dea8 Mon Sep 17 00:00:00 2001 From: Mariano Suligoy Date: Sun, 18 Jun 2017 17:16:54 -0300 Subject: Fix ColorPicker's screen pick functionality --- editor/property_editor.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'editor/property_editor.cpp') 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) { -- cgit v1.2.3-70-g09d2