Skip to content

Commit 0353a6f

Browse files
committed
Changed the stop function name and updated the version
1 parent 6d277c8 commit 0353a6f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "teleporter",
33
"displayName": "Teleporter",
44
"description": "Teleport the mouse cursor anywhere you want",
5-
"version": "1.0.1",
5+
"version": "1.1.0",
66
"publisher": "maltarouti",
77
"icon":"images/icon.png",
88
"engines": {

src/cursorTeleporter/base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export class CursorTeleporterBase {
88
maximumSizeOfMatches = 26 * 26;
99
isModeOn = false;
1010

11-
async stop() {
11+
async dispose() {
1212
if (this.isModeOn) {
1313
const activeEditor = this.window.activeTextEditor;
1414
activeEditor?.setDecorations(this.decorationType, []);

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export async function activate(context: vscode.ExtensionContext) {
2121
async function stop() {
2222
for (var t of teleporters) {
2323
if (t.isModeOn) {
24-
t.stop();
24+
t.dispose();
2525
return;
2626
}
2727
}

0 commit comments

Comments
 (0)