mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 13:17:00 -04:00
compatibility with wxWdigets 2.9+: Vector2D use *0.5 instead of /2 to prevent ambiguous conversion errors
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1536 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -180,7 +180,7 @@ void SymbolBasicShapeEditor::makeShape(Vector2D a, Vector2D b, bool constrained,
|
|||||||
if (centered) {
|
if (centered) {
|
||||||
makeCenteredShape(a, size, constrained);
|
makeCenteredShape(a, size, constrained);
|
||||||
} else {
|
} else {
|
||||||
makeCenteredShape(a + size / 2, size / 2, constrained);
|
makeCenteredShape(a + size * 0.5, size * 0.5, constrained);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user