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
|
import QtGraphicalEffects 1.0
|
||||||
|
|
||||||
|
Rectangle {
|
||||||
|
width: 20
|
||||||
|
height: 20
|
||||||
Image {
|
Image {
|
||||||
|
anchors.centerIn: parent
|
||||||
id: favorites_button_compact
|
id: favorites_button_compact
|
||||||
source: "info-favorites.png"
|
source: "info-favorites.png"
|
||||||
|
}
|
||||||
|
|
||||||
ColorOverlay {
|
ColorOverlay {
|
||||||
anchors.fill: favorites_button_compact
|
anchors.fill: favorites_button_compact
|
||||||
|
@ -2,10 +2,13 @@ import QtQuick 2.6
|
|||||||
|
|
||||||
import QtGraphicalEffects 1.0
|
import QtGraphicalEffects 1.0
|
||||||
|
|
||||||
|
Item {
|
||||||
|
|
||||||
Image {
|
Image {
|
||||||
id: read_compact
|
id: read_compact
|
||||||
|
|
||||||
source: "info-tick.png"
|
source: "info-tick.png"
|
||||||
|
}
|
||||||
|
|
||||||
ColorOverlay {
|
ColorOverlay {
|
||||||
anchors.fill: read_compact
|
anchors.fill: read_compact
|
||||||
|
Loading…
x
Reference in New Issue
Block a user