mirror of
https://github.com/waiting0324/obsidian-code-note.git
synced 2026-07-22 07:30:24 +00:00
修復切換頁籤畫布消失問題
This commit is contained in:
parent
2bd0754133
commit
322fdd982a
2 changed files with 0 additions and 3 deletions
|
|
@ -16,7 +16,6 @@ export let initGraph = function (codeBlocks: String[]) {
|
|||
container: <HTMLElement>document.getElementById('container'),
|
||||
width: 3000,
|
||||
height: 5000,
|
||||
autoResize: true,
|
||||
background: {
|
||||
color: '#ffffff', // 设置画布背景颜色
|
||||
},
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@ export default class SourceCodeViewPlugin extends Plugin {
|
|||
if (activeFile == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
// 處理文件內容
|
||||
this.app.vault.process(activeFile, (data) => {
|
||||
|
||||
|
|
@ -68,7 +67,6 @@ export default class SourceCodeViewPlugin extends Plugin {
|
|||
}
|
||||
|
||||
onunload() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue