mirror of
https://github.com/godotengine/godot.git
synced 2024-11-23 04:33:29 +00:00
Merge pull request #11998 from DmitryKrutskikh/filter-input-events-in-project-manager-3-0
Skip unhandled input events on asset library tab. (3.0) [ci skip]
This commit is contained in:
commit
8ed5e64656
@ -750,6 +750,9 @@ void ProjectManager::_unhandled_input(const Ref<InputEvent> &p_ev) {
|
||||
if (!k->is_pressed())
|
||||
return;
|
||||
|
||||
if (tabs->get_current_tab() != 0)
|
||||
return;
|
||||
|
||||
bool scancode_handled = true;
|
||||
|
||||
switch (k->get_scancode()) {
|
||||
|
Loading…
Reference in New Issue
Block a user