From 29c9f678578fa7c4525d2c7c534d866c865d1d28 Mon Sep 17 00:00:00 2001 From: Valeriy Bokhan Date: Thu, 5 May 2016 23:32:25 +0300 Subject: [PATCH] Migration to Feathers 3.0 --- src/justpinegames/Logi/Console.as | 6 +++--- src/justpinegames/Logi/ConsoleItemRenderer.as | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/justpinegames/Logi/Console.as b/src/justpinegames/Logi/Console.as index af302d4..e140cae 100644 --- a/src/justpinegames/Logi/Console.as +++ b/src/justpinegames/Logi/Console.as @@ -140,9 +140,9 @@ package justpinegames.Logi _copyButton.addEventListener(Event.ADDED, function(e:Event):void { - _copyButton.defaultLabelProperties.smoothing = TextureSmoothing.NONE; + _copyButton.defaultLabelProperties.textureSmoothing = TextureSmoothing.NONE; _copyButton.defaultLabelProperties.textFormat = defaultLabelTextFormat; - _copyButton.downLabelProperties.smoothing = TextureSmoothing.NONE; + _copyButton.downLabelProperties.textureSmoothing = TextureSmoothing.NONE; _copyButton.downLabelProperties.textFormat = downLabelTextFormat; _copyButton.stateToSkinFunction = stateToSkinFunction; @@ -277,7 +277,7 @@ package justpinegames.Logi { label.textFormat = format; }); - label.smoothing = TextureSmoothing.NONE; + label.textureSmoothing = TextureSmoothing.NONE; label.text = text; label.validate(); return label; diff --git a/src/justpinegames/Logi/ConsoleItemRenderer.as b/src/justpinegames/Logi/ConsoleItemRenderer.as index 4edca59..d7a8831 100644 --- a/src/justpinegames/Logi/ConsoleItemRenderer.as +++ b/src/justpinegames/Logi/ConsoleItemRenderer.as @@ -41,9 +41,9 @@ package justpinegames.Logi this.addEventListener(Event.ADDED, function(e:Event):void { - defaultLabelProperties.smoothing = TextureSmoothing.NONE; + defaultLabelProperties.textureSmoothing = TextureSmoothing.NONE; defaultLabelProperties.textFormat = labelTextFormat; - downLabelProperties.smoothing = TextureSmoothing.NONE; + downLabelProperties.textureSmoothing = TextureSmoothing.NONE; downLabelProperties.textFormat = labelTextFormat; horizontalAlign = HORIZONTAL_ALIGN_LEFT;