Skip to content

Commit f91da73

Browse files
authored
Merge pull request #152 from ccagml/main
2.11.14
2 parents 357a9bd + eeac587 commit f91da73

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## version 2.11.14
2+
3+
- 修正状态栏计时器文字显示
4+
15
## version 2.11.13
26

37
- 缩短项目名

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-leetcode-problem-rating",
33
"displayName": "LeetCode",
44
"description": "LeetCode 官方插件增强, 代码开源, 增加 LeetCode 题目难度分, 给个star吧, 球球了",
5-
"version": "2.11.13",
5+
"version": "2.11.14",
66
"author": "ccagml",
77
"publisher": "ccagml",
88
"license": "MIT",

src/service/StatusBarTimeService.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,17 +112,17 @@ class StatusBarTimeService implements Disposable {
112112
if (this.questionNode?.id) {
113113
pre = `${this.questionNode?.id}题`;
114114
}
115-
this.showBar.text = `${pre}计时:${diffstr}`;
115+
this.showBar.text = `${pre}计时: ${diffstr}`;
116116
} else if (this.saveTime > 0) {
117117
let diff = this.saveTime;
118118
let diffstr = this.getDiffStr(diff);
119119
let pre = "做题";
120120
if (this.questionNode?.id) {
121121
pre = `${this.questionNode?.id}题`;
122122
}
123-
this.showBar.text = `${pre}题计时:${diffstr}`;
123+
this.showBar.text = `${pre}计时: ${diffstr}`;
124124
} else {
125-
this.showBar.text = `做题计时:${this.getDiffStr(0)}`;
125+
this.showBar.text = `做题计时: ${this.getDiffStr(0)}`;
126126
}
127127
}
128128

0 commit comments

Comments
 (0)