diff options
| author | Juan Linietsky | 2017-01-08 19:54:19 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-01-08 19:54:19 -0300 |
| commit | 94ee7798ced5bc79196c971921c3109e299f8306 (patch) | |
| tree | e74a933ee4879a742f90aead5fb1001c6531d07a /scene/gui/color_picker.cpp | |
| parent | 4fd464a4c5fc83c34377450935671b7be868333c (diff) | |
| download | godot-94ee7798ced5bc79196c971921c3109e299f8306.tar.gz godot-94ee7798ced5bc79196c971921c3109e299f8306.tar.zst godot-94ee7798ced5bc79196c971921c3109e299f8306.zip | |
Diffstat (limited to 'scene/gui/color_picker.cpp')
| -rw-r--r-- | scene/gui/color_picker.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scene/gui/color_picker.cpp b/scene/gui/color_picker.cpp index 9083bdc12..9c30b333b 100644 --- a/scene/gui/color_picker.cpp +++ b/scene/gui/color_picker.cpp @@ -501,9 +501,9 @@ ColorPicker::ColorPicker() : - uv_edit->set_ignore_mouse(false); + uv_edit->connect("gui_input", this, "_uv_input"); - uv_edit->set_stop_mouse(false); + uv_edit->set_mouse_filter(MOUSE_FILTER_PASS); uv_edit->set_custom_minimum_size(Size2 (256,256)); Vector<Variant> args=Vector<Variant>(); args.push_back(0); @@ -513,7 +513,7 @@ ColorPicker::ColorPicker() : add_child(hb_edit); w_edit= memnew( Control ); - w_edit->set_ignore_mouse(false); + //w_edit->set_ignore_mouse(false); w_edit->set_custom_minimum_size(Size2(30,256)); w_edit->connect("gui_input", this, "_w_input"); args.clear(); @@ -592,7 +592,7 @@ ColorPicker::ColorPicker() : preset = memnew( TextureFrame ); bbc->add_child(preset); - preset->set_ignore_mouse(false); + //preset->set_ignore_mouse(false); preset->connect("gui_input", this, "_preset_input"); bt_add_preset = memnew ( Button ); |
