Emit scroll-touch-edge event instead of changing the behavior of scroll-touch-begin/end
fix #6873
This commit is contained in:
parent
d4b204799d
commit
269a87b26f
8 changed files with 19 additions and 9 deletions
|
@ -230,6 +230,10 @@ void Window::OnWindowScrollTouchEnd() {
|
|||
Emit("scroll-touch-end");
|
||||
}
|
||||
|
||||
void Window::OnWindowScrollTouchEdge() {
|
||||
Emit("scroll-touch-edge");
|
||||
}
|
||||
|
||||
void Window::OnWindowSwipe(const std::string& direction) {
|
||||
Emit("swipe", direction);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue