You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by tv...@apache.org on 2010/12/08 05:31:21 UTC
svn commit: r1043297 -
/pivot/tags/v2.0/wtk/src/org/apache/pivot/wtk/skin/LabelSkin.java
Author: tvolkert
Date: Wed Dec 8 04:31:20 2010
New Revision: 1043297
URL: http://svn.apache.org/viewvc?rev=1043297&view=rev
Log:
Removed test code from 2.0 tag (accidentally committed)
Modified:
pivot/tags/v2.0/wtk/src/org/apache/pivot/wtk/skin/LabelSkin.java
Modified: pivot/tags/v2.0/wtk/src/org/apache/pivot/wtk/skin/LabelSkin.java
URL: http://svn.apache.org/viewvc/pivot/tags/v2.0/wtk/src/org/apache/pivot/wtk/skin/LabelSkin.java?rev=1043297&r1=1043296&r2=1043297&view=diff
==============================================================================
--- pivot/tags/v2.0/wtk/src/org/apache/pivot/wtk/skin/LabelSkin.java (original)
+++ pivot/tags/v2.0/wtk/src/org/apache/pivot/wtk/skin/LabelSkin.java Wed Dec 8 04:31:20 2010
@@ -291,15 +291,6 @@ public class LabelSkin extends Component
graphics.fillRect(0, 0, width, height);
}
- if (glyphVectors == null) {
- // NOTE(tvolkert): I'm seeing this condition crop up in a Pivot app
- // of mine very sporadically - adding this to see which class
- // (probably a renderer) is the culprit
- Label label = (Label)getComponent();
- System.err.println("glyphVectors was nyll for class: " + label.getClass());
- layout();
- }
-
// Draw the text
if (glyphVectors.getLength() > 0) {
graphics.setFont(font);