mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 14:12:51 +00:00
Skip unhandled input events on asset library tab.
This commit is contained in:
parent
0fb22b1d24
commit
3df42cdefb
@ -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