Merge pull request #11977 from DmitryKrutskikh/filter-input-events-in-project-manager
Skip unhandled input events on asset library tab. (2.1) [ci skip]
This commit is contained in:
commit
7b5310753e
1 changed files with 3 additions and 0 deletions
|
@ -573,6 +573,9 @@ void ProjectManager::_unhandled_input(const InputEvent &p_ev) {
|
|||
if (!k.pressed)
|
||||
return;
|
||||
|
||||
if (tabs->get_current_tab() != 0)
|
||||
return;
|
||||
|
||||
bool scancode_handled = true;
|
||||
|
||||
switch (k.scancode) {
|
||||
|
|
Loading…
Reference in a new issue