mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
🚨
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import {escapeHtml} from "../util/escape";
|
||||
import {confirmDialog} from "../dialog/confirmDialog";
|
||||
import {pathPosix} from "../util/pathName";
|
||||
import {isBrowser, isMobile} from "../util/functions";
|
||||
import {hasClosestByClassName} from "../protyle/util/hasClosest";
|
||||
import {fetchPost} from "../util/fetch";
|
||||
|
||||
@@ -286,7 +286,7 @@ const renderSlashMenu = (protyle: IProtyle, toolbarElement: Element) => {
|
||||
export const showKeyboardToolbarUtil = (oldScrollTop: number) => {
|
||||
window.siyuan.menus.menu.remove();
|
||||
showUtil = true;
|
||||
const toolHeight = document.querySelector(".keyboard__bar").clientHeight
|
||||
const toolHeight = document.querySelector(".keyboard__bar").clientHeight;
|
||||
const toolbarElement = document.getElementById("keyboardToolbar");
|
||||
let keyboardHeight = window.innerHeight / 2 - toolHeight;
|
||||
if (window.siyuan.mobile.size.isLandscape) {
|
||||
|
||||
Reference in New Issue
Block a user