mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
This commit is contained in:
parent
91b23f0bb0
commit
c6122f2da1
2 changed files with 19 additions and 8 deletions
|
|
@ -5,7 +5,9 @@ import {Constants} from "../../constants";
|
|||
|
||||
export const resize = (protyle: IProtyle) => {
|
||||
hideElements(["gutter"], protyle);
|
||||
setPadding(protyle);
|
||||
if (setPadding(protyle)) {
|
||||
return;
|
||||
}
|
||||
// 不能 clearTimeout,否则 split 时左侧无法 resize
|
||||
window.setTimeout(() => {
|
||||
if (typeof echarts !== "undefined") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue