Make sure that after_reading is called when loading a Symbol. This fixes #68

This commit is contained in:
Twan van Laarhoven
2020-06-14 22:21:52 +02:00
parent a7336d66e1
commit 0fc9480586
3 changed files with 6 additions and 0 deletions
+3
View File
@@ -335,6 +335,9 @@ void Symbol::after_reading(Version v) {
SymbolGroup::after_reading(v);
updateBounds();
}
void after_reading(Symbol& symbol, Version v) {
symbol.after_reading(v);
}
double Symbol::aspectRatio() const {
// Margin between the edges and the symbol.