Skip to content

Commit

Permalink
Fixed wrong context name
Browse files Browse the repository at this point in the history
  • Loading branch information
DaelonSuzuka committed Nov 6, 2023
1 parent 6543968 commit 6db1476
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scene_preview_provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,12 @@ export class ScenePreviewProvider implements TreeDataProvider<SceneNode> {

private pin_preview() {
this.scenePreviewPinned = true;
set_context("godotTools.context.scenePreviewPinned", true);
set_context("scenePreviewPinned", true);
}

private unpin_preview() {
this.scenePreviewPinned = false;
set_context("godotTools.context.scenePreviewPinned", false);
set_context("scenePreviewPinned", false);
this.refresh();
}

Expand Down

0 comments on commit 6db1476

Please sign in to comment.