Skip to content
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

Update HighlightView.java #212

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

moten-07
Copy link

fixbug: #151

@qq471077336
Copy link

怎么更新到这个分支,目前依赖2.4.4,没有更新到这个代码,还是
private RectF fetchLocation(View target) {
RectF location = new RectF();
Rect locationInView = ViewUtils.getLocationInView(target, mHole);
location.left = locationInView.left - padding;
location.top = locationInView.top - padding;
location.right = locationInView.right + padding;
location.bottom = locationInView.bottom + padding;
return location;
}

@moten-07
Copy link
Author

怎么更新到这个分支,目前依赖2.4.4,没有更新到这个代码,还是 private RectF fetchLocation(View target) { RectF location = new RectF();矩形 locationInView = ViewUtils.getLocationInView(target, mHole); location.left = locationInView.left - 填充; location.top = locationInView.top - 填充; location.right = locationInView.right + 填充; location.bottom = locationInView.bottom + 填充;返回地点; }

等作者更新,或者你直接在项目里创建一个同名文件覆盖掉,我是不想特意发布一个版本,还得额外创建一个maven

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants