mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-08 00:04:21 +01:00
🚨
This commit is contained in:
parent
b345a5cf6d
commit
d60415dd79
2 changed files with 1 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue