v1.2.0: fixed a crash caused by flipped toolbar
This commit is contained in:
parent
452dda7fc4
commit
21739af1cc
|
@ -323,7 +323,7 @@ public class Toolbar extends Component {
|
|||
btnSearch.setPos( (right - btnSearch.right()), y);
|
||||
btnInventory.setPos( (right - btnInventory.right()), y);
|
||||
|
||||
for(int i = 0; i <= btnQuick.length; i++) {
|
||||
for(int i = 0; i < btnQuick.length; i++) {
|
||||
btnQuick[i].setPos( right - btnQuick[i].right(), y+2);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user