#2529 Prioritize disabled for UI entry state

This commit is contained in:
Cohee 2024-07-19 01:54:49 +03:00
parent 52497ea96d
commit 3c059d19ef
1 changed files with 3 additions and 3 deletions

View File

@ -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';
} }