Skip to content
This repository was archived by the owner on Jul 14, 2021. It is now read-only.

Commit 677137c

Browse files
committed
Merge branch 'develop'
2 parents b8421c4 + 1c1c430 commit 677137c

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

virtualview/src/main/java/com/tmall/wireless/vaf/virtualview/core/ViewBase.java

+4
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,10 @@ public String getAction() {
209209
return mAction;
210210
}
211211

212+
public String getActionParam() {
213+
return mActionParam;
214+
}
215+
212216
public Object getJSONData() {
213217
return mJSONData;
214218
}

virtualview/src/main/java/com/tmall/wireless/vaf/virtualview/view/text/VirtualText.java

+3
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,10 @@ protected void onComDraw(Canvas canvas) {
160160
top = mContentRect.height() + mPaddingTop;
161161
}
162162

163+
canvas.save();
164+
canvas.clipRect(0, 0, mMeasuredWidth, mMeasuredHeight);
163165
canvas.drawText(mDrawText, left, top - mDescent, mPaint);
166+
canvas.restore();
164167

165168
if (mBorderWidth > 0) {
166169
if (mBorderPaint == null) {

0 commit comments

Comments
 (0)