[vlc-commits] [Git][videolan/vlc][master] qml: respect property `smooth` in RoundImage

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Sun Dec 22 11:40:17 UTC 2024



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
4172e77f by Fatih Uzunoglu at 2024-12-22T11:26:29+00:00
qml: respect property `smooth` in RoundImage

- - - - -


1 changed file:

- modules/gui/qt/widgets/qml/RoundImage.qml


Changes:

=====================================
modules/gui/qt/widgets/qml/RoundImage.qml
=====================================
@@ -100,6 +100,8 @@ Item {
 
         readonly property bool readyForVisibility: (root.radius > 0.0) && (GraphicsInfo.shaderType === GraphicsInfo.RhiShader)
 
+        smooth: root.smooth
+
         supportsAtlasTextures: true
 
         blending: true
@@ -152,6 +154,8 @@ Item {
 
         anchors.fill: parent
 
+        smooth: root.smooth
+
         // Image should not be visible when there is rounding and RHI shader is supported.
         // This is simply when the shader effect is invisible. However, Do not use `!shaderEffect.visible`,
         // because the root item may be invisible (`grabToImage()` call on an invisible



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/4172e77ff47fa9bfce691e0054638397e085a3f7

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/4172e77ff47fa9bfce691e0054638397e085a3f7
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list