Skip to content

Commit

Permalink
tweak default value in options
Browse files Browse the repository at this point in the history
  • Loading branch information
xmcp committed Sep 27, 2024
1 parent 6b63f8b commit 1cf17c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions pakkujs/background/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ export function migrate_config(remote_config: AnyObject): Config {
config._CONFIG_VER = 4;

config.TAKEOVER_AIJUDGE = false;
// we also added the 'dispval' option for POPUP_BADGE, so we have to bump version number to inform old clients.
}

return {...DEFAULT_CONFIG, ...config};
Expand Down
6 changes: 3 additions & 3 deletions pakkujs/page/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -413,9 +413,9 @@
<label for="shrink-threshold">自动减小字号 <span class="icon-image"></span></label>
<select id="shrink-threshold">
<option value="0">禁用</option>
<option value="70">轻微 (>70)</option>
<option value="50">中等 (>50)</option>
<option value="40">强力 (>40)</option>
<option value="100">轻微 (>100)</option>
<option value="70">中等 (>70)</option>
<option value="50">强力 (>50)</option>
<option class="other"></option>
</select>
<label for="max-dist"></label>
Expand Down

0 comments on commit 1cf17c6

Please sign in to comment.