Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Bardia Daneshvar committed Mar 1, 2017
1 parent a5b6296 commit e4c2f1f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions qml/AsemanTools/CachedImage.qml
Original file line number Diff line number Diff line change
@@ -1,19 +1,35 @@
import QtQuick 2.0
import AsemanTools 1.0
import QtGraphicalEffects 1.0

Item {

property alias radius: mask.radius
property alias source: queueItem.source
property alias percent: queueItem.percent

property alias fillMode: image.fillMode
property alias asynchronous: image.asynchronous
property alias sourceSize: image.sourceSize


Rectangle {
id: mask
anchors.fill: parent
visible: false
}

Image {
id: image
anchors.fill: parent
source: queueItem.result
visible: false
}

OpacityMask {
anchors.fill: parent
source: image
maskSource: mask
}

FileDownloaderQueueItem {
Expand Down

0 comments on commit e4c2f1f

Please sign in to comment.