Skip unhandled input events on asset library tab.
This commit is contained in:
parent
0fb22b1d24
commit
3df42cdefb
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue