Skip to content

Commit

Permalink
Release 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
acid-chicken committed Apr 20, 2018
1 parent 2d91247 commit 969c4c1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ Check [Keep a Changelog](https://keepachangelog.com/) for recommendations on how
### Added

- Beautiful spinning tanakh

## [1.0.1]

### Fixed

- The tanakh doesn't spin automatically.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "tanakh",
"displayName": "tanakh",
"description": "(´・_・`)",
"version": "1.0.0",
"version": "1.0.1",
"publisher": "acid-chicken",
"license": "MIT",
"engines": {
Expand Down
6 changes: 5 additions & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,15 @@ class TanakhController {
public constructor(tanakh: Tanakh) {
this.tanakh = tanakh
let subscriptions: vscode.Disposable[] = []
vscode.window.onDidChangeTextEditorSelection(this.tanakh.update, this, subscriptions)
vscode.window.onDidChangeTextEditorSelection(this.update, this, subscriptions)
this.tanakh.update()
this.disposable = vscode.Disposable.from(...subscriptions)
}

public update() {
this.tanakh.update()
}

public dispose() {
this.disposable.dispose()
}
Expand Down

0 comments on commit 969c4c1

Please sign in to comment.