fix: image modes

This commit is contained in:
Richard Ramos 2020-05-27 16:59:39 -04:00 committed by RichΛrd
parent ff5f3b9ce3
commit a96848f890
1 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,5 @@
import QtQuick 2.12
import QtQuick.Controls 2.3
import QtQuick.Controls 2.12
import QtGraphicalEffects 1.12
import "../../../imports"
@ -21,9 +21,9 @@ Menu {
anchors.left: parent.left
anchors.leftMargin: 12
Image {
fillMode: Image.Pad
id: popupMenuItemIcon
source: popupMenuItem.icon.source
smooth: true
visible: false
}
@ -31,7 +31,6 @@ Menu {
anchors.fill: popupMenuItemIcon
anchors.verticalCenter: parent.verticalCenter
source: popupMenuItemIcon
antialiasing: true
color: popupMenuItem.highlighted ? Theme.white : Theme.blue
}
}