diff --git a/src/qml/FeedListDelegate.qml b/src/qml/FeedListDelegate.qml index 36cf9326..ed35d6b4 100644 --- a/src/qml/FeedListDelegate.qml +++ b/src/qml/FeedListDelegate.qml @@ -166,7 +166,7 @@ Controls.ItemDelegate { imageSource: feed.cachedImage imageTitle: feed.name isLoading: feed.refreshing - absoluteRadius: Kirigami.Units.smallSpacing + borderWidth + absoluteRadius: Kirigami.Units.smallSpacing - borderWidth } Rectangle { diff --git a/src/qml/ImageWithFallback.qml b/src/qml/ImageWithFallback.qml index 5b24f7d0..a133001e 100644 --- a/src/qml/ImageWithFallback.qml +++ b/src/qml/ImageWithFallback.qml @@ -26,6 +26,14 @@ Item { property bool imageResize: true property bool mipmap: false + // HACK: if mipmap has been set to true, then reset it AFTER image has + // changed, otherwise it will be ignored + onImageSourceChanged: { + if (root.mipmap) { + root.mipmap = true; + } + } + Loader { id: imageLoader anchors.fill: parent @@ -38,6 +46,8 @@ Item { source: imageLoader.item opacity: root.imageOpacity maskEnabled: true + maskThresholdMin: 0.5 + maskSpreadAtMin: 0.5 maskSource: ShaderEffectSource { width: imageLoader.width height: imageLoader.height