fix warning
This commit is contained in:
parent
1e869c5b85
commit
5b36f5fcc0
|
@ -22,7 +22,7 @@ package
|
||||||
SetScale(sidebar);
|
SetScale(sidebar);
|
||||||
super(sidebar, h < 0 ? img.scaledHeight : h, img);
|
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;
|
var scale:Number = sidebar.width / img.width;
|
||||||
if (h >= 0)
|
if (h >= 0)
|
||||||
|
|
Loading…
Reference in a new issue