Repository: incubator-weex
Updated Branches:
  refs/heads/master d7fb0797f -> 3ac948d74


* [iOS] revert the round Pixel config


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/3ac948d7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/3ac948d7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/3ac948d7

Branch: refs/heads/master
Commit: 3ac948d7490b94b4699ab1f2235f674925e9f700
Parents: d7fb079
Author: acton393 <zhangxing610...@gmail.com>
Authored: Fri Dec 8 12:11:45 2017 +0800
Committer: acton393 <zhangxing610...@gmail.com>
Committed: Fri Dec 8 12:11:45 2017 +0800

----------------------------------------------------------------------
 ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/3ac948d7/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m
----------------------------------------------------------------------
diff --git a/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m 
b/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m
index e315bca..581c16d 100644
--- a/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m
+++ b/ios/sdk/WeexSDK/Sources/Model/WXSDKInstance.m
@@ -227,7 +227,7 @@ typedef enum : NSUInteger {
         [WXTextComponent setRenderUsingCoreText:useCoreText];
         
         //handler pixel round
-        BOOL shouldRoudPixel = [[configCenter 
configForKey:@"iOS_weex_ext_config.utilityShouldRoundPixel" defaultValue:@(NO) 
isDefault:NULL] boolValue];
+        BOOL shouldRoudPixel = [[configCenter 
configForKey:@"iOS_weex_ext_config.utilityShouldRoundPixel" defaultValue:@(YES) 
isDefault:NULL] boolValue];
         [WXUtility setShouldRoudPixel:shouldRoudPixel];
         
         id sliderConfig =  [configCenter 
configForKey:@"iOS_weex_ext_config.slider_class_name" 
defaultValue:@"WXCycleSliderComponent" isDefault:NULL];

Reply via email to