mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2024-12-29 18:55:06 +08:00
fix: ArgumentNullException when selecting multiple Menu Item with same settings (#1097)
This commit is contained in:
parent
d403f1b178
commit
c63128095e
@ -441,9 +441,9 @@ namespace nadena.dev.modular_avatar.core.editor
|
||||
var forceMixedValues = _parameterName.hasMultipleDifferentValues;
|
||||
|
||||
var syncedIsMixed = forceMixedValues || _prop_isSynced.hasMultipleDifferentValues ||
|
||||
siblings.Any(s => s.isSynced != _prop_isSynced.boolValue);
|
||||
siblings != null && siblings.Any(s => s.isSynced != _prop_isSynced.boolValue);
|
||||
var savedIsMixed = forceMixedValues || _prop_isSaved.hasMultipleDifferentValues ||
|
||||
siblings.Any(s => s.isSaved != _prop_isSaved.boolValue);
|
||||
siblings != null && siblings.Any(s => s.isSaved != _prop_isSaved.boolValue);
|
||||
|
||||
var knownParameter = _parameterName.hasMultipleDifferentValues
|
||||
? null
|
||||
|
Loading…
Reference in New Issue
Block a user