mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-29 04:12:45 +08:00
fix: 修复4k屏下搜索到的图标模糊的 bug
This commit is contained in:
parent
2dede09285
commit
87d619af6a
@ -10,7 +10,7 @@ let getIcons8Icon = (selector, callback) => {
|
||||
}
|
||||
let showSelection = selection => {
|
||||
if (!selection.commonName) return selection.text
|
||||
let imgUrl = `https://img.icons8.com/color/1x/${selection.commonName}.png`
|
||||
let imgUrl = `https://img.icons8.com/color/2x/${selection.commonName}.png`
|
||||
getImg(imgUrl, src => {
|
||||
src && callback(src)
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user