-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问有没有彻底的解决方案,关于小于50时,android显示没有从12点钟方向开始的问题 #22
Comments
非常感谢作者开源!我的三星A900出现percent小于50,起点错误问题 |
i have solved the issue,you need change these codes: #line 11 #line 96 if (Platform.OS == 'ios') { leftTransformerDegree = '0deg'; rightTransformerDegree = percent * 3.6 + 'deg'; }else{ leftTransformerDegree = '0deg'; rightTransformerDegree = -(50-percent) * 3.6 + 'deg'; } #line 157 backgroundColor: Platform.OS == 'ios' ? this.props.color : this.props.percent < 50 ? this.props.bgcolor : this.props.color, line number maybe is wrong,just search the code :) |
@bianbiandashen I have try you solution on Android 8.1 Pixel 2XL, but still have problem. So you can try on this device on emulator |
react version 16.3.0 and react-native version 0.54.2 |
如题,之前给出的fix仍然存在问题
The text was updated successfully, but these errors were encountered: