fix: 修复4k屏下搜索到的图标模糊的 bug

This commit is contained in:
fofolee 2021-03-27 19:36:40 +08:00
parent 2dede09285
commit 87d619af6a

View File

@ -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)
})