Don't recurse infinitely calling createLabel with the same args over
and over. Casting host to a Component seems to make java find the appropriate other function to call. git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@155 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -67,7 +67,7 @@ public class ScoreAnimation extends FloatingTextAnimation
|
|||||||
*/
|
*/
|
||||||
public static Label createLabel (String score, Color c, Font font, MediaPanel host)
|
public static Label createLabel (String score, Color c, Font font, MediaPanel host)
|
||||||
{
|
{
|
||||||
return createLabel(score, c, font, host);
|
return createLabel(score, c, font, (Component)host);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user