Skip to content
Snippets Groups Projects
Unverified Commit fd87dc61 authored by q234rty's avatar q234rty
Browse files

Fix emoji picker

parent bda88a03
No related branches found
No related tags found
No related merge requests found
Pipeline #3320 passed
......@@ -257,6 +257,10 @@ Menu {
Layout.preferredWidth: 36
Layout.preferredHeight: 36
hoverEnabled: true
leftPadding: 2
rightPadding: 2
topPadding: 2
bottomPadding: 2
ToolTip.text: {
switch (model.category) {
case Emoji.Category.People:
......@@ -294,13 +298,10 @@ Menu {
contentItem: Image {
horizontalAlignment: Image.AlignHCenter
verticalAlignment: Image.AlignVCenter
fillMode: Image.Pad
height: 32
width: 32
smooth: true
mipmap: true
sourceSize.width: 32 * Screen.devicePixelRatio
sourceSize.height: 32 * Screen.devicePixelRatio
sourceSize.width: width
sourceSize.height: height
source: "image://colorimage/" + model.image + "?" + (hovered ? Nheko.colors.highlight : Nheko.colors.buttonText)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment