diff options
| author | Juan Linietsky <reduzio@gmail.com> | 2017-01-08 19:54:19 -0300 |
|---|---|---|
| committer | Juan Linietsky <reduzio@gmail.com> | 2017-01-08 19:54:19 -0300 |
| commit | 94ee7798ced5bc79196c971921c3109e299f8306 (patch) | |
| tree | e74a933ee4879a742f90aead5fb1001c6531d07a /tools/editor/asset_library_editor_plugin.cpp | |
| parent | 4fd464a4c5fc83c34377450935671b7be868333c (diff) | |
| download | redot-engine-94ee7798ced5bc79196c971921c3109e299f8306.tar.gz | |
-removed stop mouse and ignore mouse from control, which were confusing, replaced by mouse filter
Diffstat (limited to 'tools/editor/asset_library_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/asset_library_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/asset_library_editor_plugin.cpp b/tools/editor/asset_library_editor_plugin.cpp index b4f9337d86..986f235499 100644 --- a/tools/editor/asset_library_editor_plugin.cpp +++ b/tools/editor/asset_library_editor_plugin.cpp @@ -157,7 +157,7 @@ EditorAssetLibraryItem::EditorAssetLibraryItem() { set_custom_minimum_size(Size2(250,100)); set_h_size_flags(SIZE_EXPAND_FILL); - set_stop_mouse(false); + set_mouse_filter(MOUSE_FILTER_PASS); } ////////////////////////////////////////////////////////////////////////////// @@ -1446,7 +1446,7 @@ EditorAssetLibrary::EditorAssetLibrary(bool p_templates_only) { library_scroll->add_child(library_vb_border); library_vb_border->add_style_override("panel",border2); library_vb_border->set_h_size_flags(SIZE_EXPAND_FILL); - library_vb_border->set_stop_mouse(false); + library_vb_border->set_mouse_filter(MOUSE_FILTER_PASS); |
