Skip to content
This repository has been archived by the owner on Aug 7, 2022. It is now read-only.

Commit

Permalink
更新
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiro527 committed Apr 21, 2021
1 parent dca7557 commit a82cf56
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 13 deletions.
5 changes: 3 additions & 2 deletions app/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,9 @@ module.exports = class utils {
`
case "fileWithEyes":
return `
<a class="material-icons" id="eye_${obj.id}" onclick="window.utils.tolset('changeVisibility', '${obj.id}')" style="text-decoration:none;">${config.get(`${obj.id}_visibility`, true) ? "visibility" : "visibility_off"}</a>
<button class='settingsBtn' onclick='window.utils.tolset("${obj.id}")' style="float:right;margin-top:5px;">${langPack.selectFile}</button><div id='${obj.id}' style="font-size:13pt;margin-top:10px;text-align:right;display:${config.get(`${obj.id}_visibility`, true) ? '' : 'none'};">${config.get(obj.id, obj.default)}</div>
<button class='settingsBtn' onclick='window.utils.tolset("${obj.id}")' style="float:right;margin-top:5px;">${langPack.selectFile}</button>
<a class="material-icons" id="eye_${obj.id}" onclick="window.utils.tolset('changeVisibility', '${obj.id}')" style="text-decoration:none;float:right;margin-top:10px;color:rgba(0,0,0,0.5);">${config.get(`${obj.id}_visibility`, true) ? "visibility" : "visibility_off"}</a>
<div id='${obj.id}' style="font-size:13pt;margin-top:10px;text-align:right;display:${config.get(`${obj.id}_visibility`, true) ? '' : 'none'};">${config.get(obj.id, obj.default)}</div>
`
default:
return `
Expand Down
32 changes: 23 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"url": "https://github.com/Hiro527/LaF/issues"
},
"homepage": "https://github.com/Hiro527/LaF#readme",
"electronVersion": "12.0.5",
"electronVersion": "9.4.4",
"devDependencies": {
"electron": "^12.0.5",
"electron": "9.4.4",
"electron-builder": "^22.10.5"
},
"dependencies": {
Expand Down

0 comments on commit a82cf56

Please sign in to comment.