1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-22 12:47:44 +00:00

Only round the news banner image when width isn't restricted

This commit is contained in:
Joshua Goins 2024-04-01 15:23:44 -04:00
parent 262936f06d
commit 3182c0db0b

View file

@ -100,7 +100,7 @@ QQC2.Control {
onClicked: applicationWindow().openUrl(LauncherCore.headline.banners[page.currentBannerIndex].link)
}
layer.enabled: true
layer.enabled: !(bannerImage.width < layout.maximumWidth)
layer.effect: OpacityMask {
maskSource: Item {
width: bannerImage.width