File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
library/src/main/java/com/lantouzi/wheelview Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ protected void onDraw(Canvas canvas) {
236
236
start = Math .max (start , -mViewScopeSize * 2 );
237
237
end = Math .min (end , mMarkCount + mViewScopeSize * 2 );
238
238
239
- // 对两端的绘制范围进行扩展
239
+ // extends both ends
240
240
if (mCenterIndex == mMarkCount - 1 ) {
241
241
end += mViewScopeSize ;
242
242
} else if (mCenterIndex == 0 ) {
@@ -246,7 +246,7 @@ protected void onDraw(Canvas canvas) {
246
246
float x = start * mIntervalDis ;
247
247
248
248
float markHeight = mHeight - mBottomSpace - mCenterTextSize - mTopSpace ;
249
- // 小刻度的Y方向缩小量
249
+ // small scale Y offset
250
250
float smallMarkShrinkY = markHeight * (1 - mMarkRatio ) / 2f ;
251
251
smallMarkShrinkY = Math .min ((markHeight - mMarkWidth ) / 2f , smallMarkShrinkY );
252
252
You can’t perform that action at this time.
0 commit comments