Align effect list to right side

This commit is contained in:
DBotThePony 2022-09-11 19:23:28 +07:00
parent 5d44204c07
commit 960f182985
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -183,7 +183,7 @@ open class EffectListPanel<out S : Screen> @JvmOverloads constructor(
var x = 0
for (panel in sorted) {
panel.setPos(x * 26f, y * 26f)
panel.setPos((gridWidth - x - 1) * 26f, y * 26f)
x++