mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57: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@1546 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -50,7 +50,7 @@ void ErrorTextElement::draw(RotatedDC& dc, double scale, const RealRect& rect, c
|
||||
}
|
||||
if (pos.x < rect.right()) {
|
||||
// final piece
|
||||
dc.DrawLine(pos - dy, pos + dx / 2);
|
||||
dc.DrawLine(pos - dy, pos + dx * 0.5);
|
||||
}
|
||||
}
|
||||
// Draw the contents
|
||||
|
||||
Reference in New Issue
Block a user