middle click to open pie menu

This commit is contained in:
minjaesong
2020-02-27 05:41:57 +09:00
parent 89c99e19c0
commit e235b81041
5 changed files with 9 additions and 8 deletions

View File

@@ -172,7 +172,7 @@ class IngameController(val terrarumIngame: TerrarumIngame) : InputAdapter() {
}
// pie menu
if (button == AppLoader.getConfigInt("mousesecondary")) {
if (button == AppLoader.getConfigInt("mousequicksel")) {
terrarumIngame.uiPieMenu.setAsClose()
terrarumIngame.uiQuickBar.setAsOpen()
}
@@ -206,7 +206,7 @@ class IngameController(val terrarumIngame: TerrarumIngame) : InputAdapter() {
terrarumIngame.uiContainer.forEach { it.touchDown(screenX, screenY, pointer, button) }
// pie menu
if (button == AppLoader.getConfigInt("mousesecondary")) {
if (button == AppLoader.getConfigInt("mousequicksel")) {
terrarumIngame.uiPieMenu.setAsOpen()
terrarumIngame.uiQuickBar.setAsClose()
}