diff --git a/CHANGELOG.md b/CHANGELOG.md index 87f22c8..d63108c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## version 2.11.14 + +- 修正状态栏计时器文字显示 + ## version 2.11.13 - 缩短项目名 diff --git a/package.json b/package.json index 789d2db..0069f4c 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-leetcode-problem-rating", "displayName": "LeetCode", "description": "LeetCode 官方插件增强, 代码开源, 增加 LeetCode 题目难度分, 给个star吧, 球球了", - "version": "2.11.13", + "version": "2.11.14", "author": "ccagml", "publisher": "ccagml", "license": "MIT", diff --git a/src/service/StatusBarTimeService.ts b/src/service/StatusBarTimeService.ts index 38577c4..0af55d7 100644 --- a/src/service/StatusBarTimeService.ts +++ b/src/service/StatusBarTimeService.ts @@ -112,7 +112,7 @@ class StatusBarTimeService implements Disposable { if (this.questionNode?.id) { pre = `${this.questionNode?.id}题`; } - this.showBar.text = `${pre}计时:${diffstr}`; + this.showBar.text = `${pre}计时: ${diffstr}`; } else if (this.saveTime > 0) { let diff = this.saveTime; let diffstr = this.getDiffStr(diff); @@ -120,9 +120,9 @@ class StatusBarTimeService implements Disposable { if (this.questionNode?.id) { pre = `${this.questionNode?.id}题`; } - this.showBar.text = `${pre}题计时:${diffstr}`; + this.showBar.text = `${pre}计时: ${diffstr}`; } else { - this.showBar.text = `做题计时:${this.getDiffStr(0)}`; + this.showBar.text = `做题计时: ${this.getDiffStr(0)}`; } }