#2529 Prioritize disabled for UI entry state
This commit is contained in:
parent
52497ea96d
commit
3c059d19ef
|
@ -2875,12 +2875,12 @@ function getWorldEntry(name, data, entry) {
|
||||||
});
|
});
|
||||||
|
|
||||||
const entryState = function () {
|
const entryState = function () {
|
||||||
if (entry.constant === true) {
|
if (entry.disable === true) {
|
||||||
|
return 'disabled';
|
||||||
|
} else if (entry.constant === true) {
|
||||||
return 'constant';
|
return 'constant';
|
||||||
} else if (entry.vectorized === true) {
|
} else if (entry.vectorized === true) {
|
||||||
return 'vectorized';
|
return 'vectorized';
|
||||||
} else if (entry.disable === true) {
|
|
||||||
return 'disabled';
|
|
||||||
} else {
|
} else {
|
||||||
return 'normal';
|
return 'normal';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue