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

门派功能div未加class样式导致里面的img标签超出容器 #5

Open
wewwwechec opened this issue Apr 29, 2024 · 3 comments
Open

Comments

@wewwwechec
Copy link

企业微信截图_17143754254937

@wewwwechec
Copy link
Author

偶尔发生,有时候又是正常的

@kaykie
Copy link
Owner

kaykie commented May 9, 2024

加了样式控制啦

@wewwwechec
Copy link
Author

可以给那个悬浮窗加个可拖动的监听吗,因为有些水滴屏或者刘海屏,横屏状态下会挡住那个好友聊天界面,代码类似这样
floatyWindow.move.setOnTouchListener(function (view, event) {
switch (event.getAction()) {
case event.ACTION_DOWN:
X = event.getRawX();
Y = event.getRawY();
return true;
case event.ACTION_MOVE:
x = event.getRawX() - X;
y = event.getRawY() - Y;
floatyWindow.setPosition(wx + x, wy + y);
return true;
case event.ACTION_UP:
wx += x;
wy += y;
return true;
}
});

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

No branches or pull requests

2 participants