mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 00:38:49 +01:00
This commit is contained in:
parent
66bc15b1da
commit
76f7f629da
1 changed files with 3 additions and 1 deletions
|
|
@ -169,7 +169,9 @@ const renderKeyboardToolbar = () => {
|
|||
if (getSelection().rangeCount === 0 || window.siyuan.config.editor.readOnly || window.siyuan.config.readonly) {
|
||||
return;
|
||||
}
|
||||
hideKeyboardToolbarUtil();
|
||||
if (!showUtil) {
|
||||
hideKeyboardToolbarUtil();
|
||||
}
|
||||
if (window.innerHeight + 200 > ((window.orientation === 90 || window.orientation === -90) ? screen.width : screen.height)) {
|
||||
hideKeyboardToolbar();
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue