mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 10:00:13 +01:00
This commit is contained in:
parent
c760e203ca
commit
04e347e98d
1 changed files with 1 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ const forwardStack: IBackStack[] = [];
|
||||||
let previousIsBack = false;
|
let previousIsBack = false;
|
||||||
|
|
||||||
export const handleTouchEnd = () => {
|
export const handleTouchEnd = () => {
|
||||||
|
window.siyuan.mobileEditor?.protyle.breadcrumb.show();
|
||||||
if (!clientX || !clientY) return;
|
if (!clientX || !clientY) return;
|
||||||
|
|
||||||
if (Math.abs(xDiff) > Math.abs(yDiff) && Math.abs(xDiff) > window.innerWidth / 2) {
|
if (Math.abs(xDiff) > Math.abs(yDiff) && Math.abs(xDiff) > window.innerWidth / 2) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue