summaryrefslogtreecommitdiff
path: root/src/net/sourceforge/plantuml/creole/AtomMath.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/sourceforge/plantuml/creole/AtomMath.java')
-rw-r--r--src/net/sourceforge/plantuml/creole/AtomMath.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/sourceforge/plantuml/creole/AtomMath.java b/src/net/sourceforge/plantuml/creole/AtomMath.java
index 1f8ec42..4815d87 100644
--- a/src/net/sourceforge/plantuml/creole/AtomMath.java
+++ b/src/net/sourceforge/plantuml/creole/AtomMath.java
@@ -2,7 +2,7 @@
* PlantUML : a free UML diagram generator
* ========================================================================
*
- * (C) Copyright 2009-2017, Arnaud Roques
+ * (C) Copyright 2009-2020, Arnaud Roques
*
* Project Info: http://plantuml.com
*
@@ -50,7 +50,7 @@ import net.sourceforge.plantuml.ugraphic.UGraphic;
import net.sourceforge.plantuml.ugraphic.UImage;
import net.sourceforge.plantuml.ugraphic.UImageSvg;
-public class AtomMath implements Atom {
+public class AtomMath extends AbstractAtom implements Atom {
private final double scale;
private final ScientificEquationSafe math;
@@ -99,7 +99,7 @@ public class AtomMath implements Atom {
final SvgString svg = math.getSvg(scale, fore, back);
ug.draw(new UImageSvg(svg));
} else {
- final UImage image = new UImage(math.getImage(scale, fore, back), math.getFormula());
+ final UImage image = new UImage(null, math.getImage(scale, fore, back), math.getFormula());
ug.draw(image);
}
}