Revision: 1272
Author: heuermh
Date: Tue Dec 30 03:32:29 2014 UTC
Log: Issue 260 ; applying patch from jlessner@
https://code.google.com/p/piccolo2d/source/detail?r=1272
Modified:
/piccolo2d.java/trunk/extras/src/main/java/org/piccolo2d/extras/nodes/PStyledText.java
=======================================
---
/piccolo2d.java/trunk/extras/src/main/java/org/piccolo2d/extras/nodes/PStyledText.java
Tue Mar 15 22:23:53 2011 UTC
+++
/piccolo2d.java/trunk/extras/src/main/java/org/piccolo2d/extras/nodes/PStyledText.java
Tue Dec 30 03:32:29 2014 UTC
@@ -626,7 +626,7 @@
// Draw the underline and the strikethrough after the text
if (sInfo.underline != null) {
- paintLine.setLine(x, y + lineInfo.maxDescent / 2, x +
width, y + lineInfo.maxDescent / 2);
+ paintLine.setLine(curX, y + lineInfo.maxDescent / 2, x
+ width, y + lineInfo.maxDescent / 2);
g2.draw(paintLine);
}
--
--
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
---
You received this message because you are subscribed to the Google Groups "Piccolo2D Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to piccolo2d-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.