Align effect list to right side
This commit is contained in:
parent
5d44204c07
commit
960f182985
@ -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++
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user