mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-22 19:08:48 -04:00
Maybe fix Android dev console - will require testing
This commit is contained in:
parent
9319d16002
commit
ede5ebdf75
@ -1,5 +1,6 @@
|
||||
package com.unciv.ui.screens.devconsole
|
||||
|
||||
import com.badlogic.gdx.Application
|
||||
import com.badlogic.gdx.Gdx
|
||||
import com.badlogic.gdx.Input
|
||||
import com.badlogic.gdx.graphics.Color
|
||||
@ -71,7 +72,8 @@ class DevConsolePopup(val screen: WorldScreen) : Popup(screen) {
|
||||
keyShortcuts.add(Input.Keys.UP) { navigateHistory(-1) }
|
||||
keyShortcuts.add(Input.Keys.DOWN) { navigateHistory(1) }
|
||||
|
||||
setFillParent(false) // ALLOW clicking the map while the console is open!
|
||||
if (Gdx.app.type != Application.ApplicationType.Android) // I think this might be what's causing Android to fail, not sure
|
||||
setFillParent(false) // ALLOW clicking the map while the console is open!
|
||||
open(true)
|
||||
|
||||
screen.stage.keyboardFocus = textField
|
||||
|
Loading…
x
Reference in New Issue
Block a user