mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-21 01:13:37 +08:00
Fix startup issue after adding certain actions to toolbars
This commit is contained in:
parent
518d750074
commit
039ff972b6
@ -1432,9 +1432,9 @@ class Toolbar {
|
||||
var item = BarItems[itemId];
|
||||
if (item) {
|
||||
item.pushToolbar(this);
|
||||
if (BARS.condition(item.condition)) {
|
||||
/*if (BARS.condition(item.condition)) {
|
||||
content.append(item.getNode())
|
||||
}
|
||||
}*/
|
||||
this.positionLookup[itemPosition] = item;
|
||||
} else {
|
||||
var postloadAction = [itemId, itemPosition];
|
||||
|
Loading…
Reference in New Issue
Block a user