v2.1.0: fixed new toolbar putting currently indicator behind backpack

This commit is contained in:
Evan Debenham
2023-05-04 17:36:50 -04:00
parent 71204987d0
commit 1879a762dd

View File

@@ -373,6 +373,7 @@ public class Toolbar extends Component {
protected void layout() {
super.layout();
ind.fill(this);
bringToFront(ind);
arrow.x = left() + (width - arrow.width())/2;
arrow.y = bottom()-arrow.height-1;