mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Consistent order of style property updates.
See #4 (which is mostly fixed by this commit)
This commit is contained in:
@@ -27,8 +27,9 @@ IMPLEMENT_REFLECTION(ImageStyle) {
|
||||
}
|
||||
|
||||
int ImageStyle::update(Context& ctx) {
|
||||
return Style ::update(ctx)
|
||||
| default_image.update(ctx) * CHANGE_DEFAULT;
|
||||
int changes = Style::update(ctx);
|
||||
changes |= default_image.update(ctx) * CHANGE_DEFAULT;
|
||||
return changes;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------- : ImageValue
|
||||
|
||||
Reference in New Issue
Block a user