mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-15 04:54:05 +09:00
F4 to hide GUI
This commit is contained in:
@@ -391,8 +391,10 @@ object IngameRenderer : Disposable {
|
||||
batch.shader = null
|
||||
batch.color = Color.WHITE
|
||||
|
||||
uiContainer?.forEach {
|
||||
it?.render(batch, camera)
|
||||
if (!KeyToggler.isOn(Input.Keys.F4)) {
|
||||
uiContainer?.forEach {
|
||||
it?.render(batch, camera)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user