mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
Consistent order of style property updates.
See #4 (which is mostly fixed by this commit)
This commit is contained in:
@@ -40,9 +40,10 @@ IMPLEMENT_REFLECTION(MultipleChoiceStyle) {
|
||||
}
|
||||
|
||||
int MultipleChoiceStyle::update(Context& ctx) {
|
||||
return ChoiceStyle::update(ctx)
|
||||
| direction.update(ctx) * CHANGE_OTHER
|
||||
| spacing.update(ctx) * CHANGE_OTHER;
|
||||
int changes = ChoiceStyle::update(ctx);
|
||||
changes |= direction.update(ctx) * CHANGE_OTHER;
|
||||
changes |= spacing.update(ctx) * CHANGE_OTHER;
|
||||
return changes;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------- : MultipleChoiceValue
|
||||
|
||||
Reference in New Issue
Block a user