Skip to content

Commit a25aad4

Browse files
liujupingJackLian
authored andcommitted
fix(outline): fix view change bugs in workspace mode
1 parent 271aef4 commit a25aad4

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/publish engine beta.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Update and Publish Docs
1+
name: Publish Engine Beta
22

33
on:
44
push:
@@ -27,4 +27,4 @@ jobs:
2727
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2828
- name: Get version
2929
id: get_version
30-
run: echo "::set-output name=version::$(node -p "require('./docs/package.json').version")"
30+
run: echo "::set-output name=version::$(node -p "require('./package.json').version")"

.github/workflows/publish engine.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Update and Publish Docs
1+
name: Publish Engine
22

33
on:
44
workflow_dispatch:
@@ -23,4 +23,4 @@ jobs:
2323
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2424
- name: Get version
2525
id: get_version
26-
run: echo "::set-output name=version::$(node -p "require('./docs/package.json').version")"
26+
run: echo "::set-output name=version::$(node -p "require('./package.json').version")"

packages/plugin-outline-pane/src/controllers/tree-master.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ export class TreeMaster {
5151
windowViewTypeChangeEvent();
5252

5353
workspace.onChangeActiveWindow(() => {
54-
windowViewTypeChangeEvent();
5554
this.setPluginContext(workspace.window?.currentEditorView);
5655
dispose && dispose();
56+
windowViewTypeChangeEvent();
5757
});
5858
}
5959
}

0 commit comments

Comments
 (0)