Skip to content

Commit

Permalink
2.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
AShujiao committed Jul 10, 2021
1 parent f448ccb commit fd868df
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,7 @@

#### ver 2.2.5 (2021/03/08)
1.本地图片文件转base64(修复1.54.1版本后不支持本地文件的问题)
2.图片读取失败提示语优化
2.图片读取失败提示语优化

#### ver 2.2.6 (2021/07/10)
1.将图片不透明度最低值改为0.59
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,8 @@ Add a picture you like to cover the entire vscode..
## 最近更新日志
[完整日志](https://github.com/vscode-extension/vscode-background-cover/blob/master/CHANGELOG.md)

#### ver 2.2.5 (2021/03/08)
1.本地图片文件转base64(修复1.54.1版本后不支持本地文件的问题)
2.图片读取失败提示语优化
#### ver 2.2.6 (2021/07/10)
1.将图片不透明度最低值改为0.59

---
### Thanks 感谢
Expand Down
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": "background-cover",
"displayName": "background-cover",
"description": "Add a picture you like to cover the entire vscode..",
"version": "2.2.5",
"version": "2.2.6",
"publisher": "manasxx",
"engines": {
"vscode": "^1.38.0"
Expand Down
2 changes: 1 addition & 1 deletion src/FileDom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class FileDom {
// 重新计算透明度
let opacity = this.imageOpacity;
opacity = opacity <= 0.1 ? 0.1 : opacity >= 1 ? 1 : opacity;
opacity = 0.79 + (0.2 - ((opacity * 2) / 10));
opacity = 0.59 + (0.4 - ((opacity * 4) / 10));

return `
/*ext-${this.extName}-start*/
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default '2.2.5';
export default '2.2.6';

0 comments on commit fd868df

Please sign in to comment.