mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 13:56:10 +00:00
fix: use SVGs in emoji popup
This commit is contained in:
parent
017b570dd4
commit
6a51d80832
@ -76,7 +76,7 @@ Popup {
|
|||||||
categoryNames[emoji.category] = newCategories.length
|
categoryNames[emoji.category] = newCategories.length
|
||||||
newCategories.push([])
|
newCategories.push([])
|
||||||
}
|
}
|
||||||
newCategories[categoryNames[emoji.category]].push(Object.assign({}, emoji, {filename: emoji.unicode + '.png'}))
|
newCategories[categoryNames[emoji.category]].push(Object.assign({}, emoji, {filename: emoji.unicode + '.svg'}))
|
||||||
})
|
})
|
||||||
|
|
||||||
if (newCategories[categoryNames.recent].length === 0) {
|
if (newCategories[categoryNames.recent].length === 0) {
|
||||||
|
@ -90,7 +90,7 @@ Item {
|
|||||||
SVGImage {
|
SVGImage {
|
||||||
width: emojiSection.imageWidth
|
width: emojiSection.imageWidth
|
||||||
height: emojiSection.imageWidth
|
height: emojiSection.imageWidth
|
||||||
source: "../../imports/twemoji/72x72/" + modelData.filename
|
source: "../../imports/twemoji/svg/" + modelData.filename + "?22x22"
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
cursorShape: Qt.PointingHandCursor
|
cursorShape: Qt.PointingHandCursor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user