Disable remove button if no biome selected
This commit is contained in:
parent
d2367d7da2
commit
5e9e78fb57
@ -932,6 +932,7 @@ function updateWidgetStates() {
|
|||||||
inputMinY.disabled = state;
|
inputMinY.disabled = state;
|
||||||
inputMaxY.disabled = state;
|
inputMaxY.disabled = state;
|
||||||
inputBiomeName.disabled = state;
|
inputBiomeName.disabled = state;
|
||||||
|
removeBiomeButton.disabled = state;
|
||||||
for (let c=0; c<CELL_COLORS.length; c++) {
|
for (let c=0; c<CELL_COLORS.length; c++) {
|
||||||
let elem = document.getElementById("inputBiomeColor"+c);
|
let elem = document.getElementById("inputBiomeColor"+c);
|
||||||
if (elem) {
|
if (elem) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user