From b7c8759f3b737d6c55dcfcb741ce47e0acf3a6ce Mon Sep 17 00:00:00 2001 From: andyque Date: Mon, 9 Jun 2014 14:37:56 +0800 Subject: [PATCH] modify outline size parameter --- cocos/ui/UIText.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/ui/UIText.h b/cocos/ui/UIText.h index afcbb7d8b9..3c38101abd 100644 --- a/cocos/ui/UIText.h +++ b/cocos/ui/UIText.h @@ -171,7 +171,7 @@ public: * Enable outline for the label * It only works on IOS and Android when you use System fonts */ - void enableOutline(const Color4B& outlineColor,int outlineSize = -1); + void enableOutline(const Color4B& outlineColor,int outlineSize = 1); /** only support for TTF */ void enableGlow(const Color4B& glowColor);