mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
fix console focus on open
This commit is contained in:
parent
536045ddc4
commit
ac6084f904
5 changed files with 13 additions and 12 deletions
|
|
@ -224,7 +224,7 @@ void Hud::processInput(bool visible) {
|
|||
setPause(true);
|
||||
}
|
||||
}
|
||||
if (!pause && Events::active(BIND_DEVTOOLS_CONSOLE)) {
|
||||
if (!pause && Events::jactive(BIND_DEVTOOLS_CONSOLE)) {
|
||||
showOverlay(assets->get<UiDocument>("core:console"), false);
|
||||
}
|
||||
if (!Window::isFocused() && !pause && !isInventoryOpen()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue