fix warning

This commit is contained in:
Jeremy Penner 2011-04-01 08:42:21 -07:00
parent 1e869c5b85
commit 5b36f5fcc0

View file

@ -22,7 +22,7 @@ package
SetScale(sidebar);
super(sidebar, h < 0 ? img.scaledHeight : h, img);
}
private function SetScale(sidebar: Sidebar)
private function SetScale(sidebar: Sidebar): void
{
var scale:Number = sidebar.width / img.width;
if (h >= 0)