mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Don't use QtGraphicalEffects on parents.
This commit is contained in:
parent
82712e0155
commit
42cb3f5ddf
@ -2,9 +2,14 @@ import QtQuick 2.6
|
||||
|
||||
import QtGraphicalEffects 1.0
|
||||
|
||||
Image {
|
||||
id: favorites_button_compact
|
||||
source: "info-favorites.png"
|
||||
Rectangle {
|
||||
width: 20
|
||||
height: 20
|
||||
Image {
|
||||
anchors.centerIn: parent
|
||||
id: favorites_button_compact
|
||||
source: "info-favorites.png"
|
||||
}
|
||||
|
||||
ColorOverlay {
|
||||
anchors.fill: favorites_button_compact
|
||||
|
@ -2,10 +2,13 @@ import QtQuick 2.6
|
||||
|
||||
import QtGraphicalEffects 1.0
|
||||
|
||||
Image {
|
||||
id: read_compact
|
||||
Item {
|
||||
|
||||
source: "info-tick.png"
|
||||
Image {
|
||||
id: read_compact
|
||||
|
||||
source: "info-tick.png"
|
||||
}
|
||||
|
||||
ColorOverlay {
|
||||
anchors.fill: read_compact
|
||||
|
Loading…
x
Reference in New Issue
Block a user