Use ScrollHelper on EmojiPicker
This commit is contained in:
parent
9a2e07cbce
commit
42ae8fa9f2
@ -135,6 +135,12 @@ Menu {
|
|||||||
currentIndex: -1 // prevent sorting from stealing focus
|
currentIndex: -1 // prevent sorting from stealing focus
|
||||||
cacheBuffer: 500
|
cacheBuffer: 500
|
||||||
|
|
||||||
|
ScrollHelper {
|
||||||
|
flickable: parent
|
||||||
|
anchors.fill: parent
|
||||||
|
enabled: !Settings.mobileMode
|
||||||
|
}
|
||||||
|
|
||||||
// Individual emoji
|
// Individual emoji
|
||||||
delegate: AbstractButton {
|
delegate: AbstractButton {
|
||||||
width: 48
|
width: 48
|
||||||
@ -150,16 +156,16 @@ Menu {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// give the emoji a little oomf
|
// give the emoji a little oomf
|
||||||
DropShadow {
|
// DropShadow {
|
||||||
width: parent.width
|
// width: parent.width
|
||||||
height: parent.height
|
// height: parent.height
|
||||||
horizontalOffset: 3
|
// horizontalOffset: 3
|
||||||
verticalOffset: 3
|
// verticalOffset: 3
|
||||||
radius: 8
|
// radius: 8
|
||||||
samples: 17
|
// samples: 17
|
||||||
color: "#80000000"
|
// color: "#80000000"
|
||||||
source: parent.contentItem
|
// source: parent.contentItem
|
||||||
}
|
// }
|
||||||
|
|
||||||
contentItem: Text {
|
contentItem: Text {
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
Loading…
Reference in New Issue
Block a user