mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 11:34:05 +09:00
fix: non-pausing UIs AND the ingame control are both getting input processed
This commit is contained in:
@@ -10,10 +10,12 @@ import com.jme3.math.FastMath
|
||||
import net.torvald.random.HQRNG
|
||||
import net.torvald.terrarum.ui.Toolkit
|
||||
import net.torvald.terrarum.ui.UICanvas
|
||||
import net.torvald.terrarum.ui.UINotControllable
|
||||
|
||||
/**
|
||||
* Created by minjaesong on 2021-09-09.
|
||||
*/
|
||||
@UINotControllable
|
||||
class UIFakeGradOverlay : UICanvas() {
|
||||
init {
|
||||
handler.allowESCtoClose = false
|
||||
@@ -68,6 +70,7 @@ class UIFakeGradOverlay : UICanvas() {
|
||||
override fun dispose() {}
|
||||
}
|
||||
|
||||
@UINotControllable
|
||||
class UIFakeBlurOverlay(val blurRadius: Float, val nodarken: Boolean) : UICanvas() {
|
||||
init {
|
||||
handler.allowESCtoClose = false
|
||||
|
||||
Reference in New Issue
Block a user