separate config panel for keyboard text input

This commit is contained in:
minjaesong
2021-11-11 01:01:19 +09:00
parent 73b6fd3e96
commit 7797e1308d
8 changed files with 404 additions and 94 deletions

View File

@@ -151,7 +151,7 @@ abstract class UICanvas(
abstract override fun dispose()
fun addUIitem(uiItem: UIItem) {
uiItems.add(uiItem)
if (!uiItems.contains(uiItem)) uiItems.add(uiItem)
}
fun mouseInScreen(x: Int, y: Int) = x in 0 until App.scr.width && y in 0 until App.scr.height