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:
@@ -38,8 +38,9 @@ InfoStyle::InfoStyle(const InfoFieldP& field)
|
||||
{}
|
||||
|
||||
int InfoStyle::update(Context& ctx) {
|
||||
return Style ::update(ctx)
|
||||
| font .update(ctx) * CHANGE_OTHER;
|
||||
int changes = Style::update(ctx);
|
||||
changes |= font.update(ctx) * CHANGE_OTHER;
|
||||
return changes;
|
||||
}
|
||||
void InfoStyle::initDependencies(Context& ctx, const Dependency& dep) const {
|
||||
Style ::initDependencies(ctx, dep);
|
||||
|
||||
Reference in New Issue
Block a user