Skip to content

Commit

Permalink
fix(touch): 修复全屏状态左侧改变亮度坐标不准的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
monsterLin authored May 26, 2020
1 parent 8e00a82 commit 5290fa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/src/main/java/cn/jzvd/Jzvd.java
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ protected void touchActionMove(float x, float y) {
}
} else {
//如果y轴滑动距离超过设置的处理范围,那么进行滑动事件处理
if (mDownX < mScreenWidth * 0.5f) {//左侧改变亮度
if (mDownX < mScreenHeight * 0.5f) {//左侧改变亮度
mChangeBrightness = true;
WindowManager.LayoutParams lp = JZUtils.getWindow(getContext()).getAttributes();
if (lp.screenBrightness < 0) {
Expand Down

2 comments on commit 5290fa2

@lbchs5343
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

大佬,全屏模式下,调出导航键,放后台,再回来,导航键不隐藏,有没有遇到这个问题?

@lipangit
Copy link
Member

@lipangit lipangit commented on 5290fa2 May 29, 2020 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.