1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-23 12:57:45 +00:00

Enable mipmapping for the logo image

This makes it slightly smoother looking.
This commit is contained in:
Joshua Goins 2025-02-01 10:53:09 -05:00
parent cf981597c0
commit aa2cd6e4db

View file

@ -106,6 +106,7 @@ QQC2.Control {
source: "file://" + LauncherCore.cachedLogoImage source: "file://" + LauncherCore.cachedLogoImage
verticalAlignment: Image.AlignTop verticalAlignment: Image.AlignTop
sourceClipRect: Qt.rect(0, sourceSize.height / 2, sourceSize.width, sourceSize.height / 2) sourceClipRect: Qt.rect(0, sourceSize.height / 2, sourceSize.width, sourceSize.height / 2)
mipmap: true
Component.onCompleted: LauncherCore.refreshLogoImage() Component.onCompleted: LauncherCore.refreshLogoImage()
Layout.preferredWidth: parent.width Layout.preferredWidth: parent.width