From 3fd3298c8139d482a7c1def64acf6feee5c86b4d Mon Sep 17 00:00:00 2001 From: Nathan Dinsmore Date: Tue, 24 Jun 2014 14:43:04 -0400 Subject: [PATCH] Fixed formatting in ui.SpriteThumbnail --- src/ui/SpriteThumbnail.as | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/SpriteThumbnail.as b/src/ui/SpriteThumbnail.as index f55f90f..5b6a706 100644 --- a/src/ui/SpriteThumbnail.as +++ b/src/ui/SpriteThumbnail.as @@ -95,7 +95,7 @@ public class SpriteThumbnail extends Sprite { private function addSelectedFrame():void { selectedFrame = new Shape(); var g:Graphics = selectedFrame.graphics; - var h:int = targetObj.isStage ? stageFrameH : frameH + var h:int = targetObj.isStage ? stageFrameH : frameH; g.lineStyle(3, CSS.overColor, 1, true); g.beginFill(CSS.itemSelectedColor); g.drawRoundRect(0, 0, frameW, h, 12, 12); @@ -108,7 +108,7 @@ public class SpriteThumbnail extends Sprite { const highlightColor:int = 0xE0E000; highlightFrame = new Shape(); var g:Graphics = highlightFrame.graphics; - var h:int = targetObj.isStage ? stageFrameH : frameH + var h:int = targetObj.isStage ? stageFrameH : frameH; g.lineStyle(2, highlightColor, 1, true); g.drawRoundRect(1, 1, frameW - 1, h - 1, 12, 12); highlightFrame.visible = false;