Commit 0c1f2f20 authored by twanvl's avatar twanvl

compatibility with wxWdigets 2.9+: Vector2D use *0.5 instead of /2 to prevent...

compatibility with wxWdigets 2.9+: Vector2D use *0.5 instead of /2 to prevent ambiguous conversion errors
parent 8d4bba56
......@@ -180,7 +180,7 @@ void SymbolBasicShapeEditor::makeShape(Vector2D a, Vector2D b, bool constrained,
if (centered) {
makeCenteredShape(a, size, constrained);
} else {
makeCenteredShape(a + size / 2, size / 2, constrained);
makeCenteredShape(a + size * 0.5, size * 0.5, constrained);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment