mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-04-17 20:08:28 +00:00
fix glitching images on buttons
This commit is contained in:
parent
270711eff7
commit
a7022bc0cc
2 changed files with 2 additions and 1 deletions
|
|
@ -137,7 +137,6 @@ Control.TabBar {
|
|||
}
|
||||
Text {
|
||||
id: buttonText
|
||||
visible: buttonIcon.isImageReady
|
||||
text: modelData.label
|
||||
font {
|
||||
weight: mainItem.currentIndex === index
|
||||
|
|
|
|||
|
|
@ -17,11 +17,13 @@ Item {
|
|||
property bool useColor: colorizationColor != undefined
|
||||
property bool shadowEnabled: false
|
||||
property bool isImageReady: false
|
||||
property bool retainWhileLoading: true
|
||||
Image {
|
||||
id: image
|
||||
visible: !effect2.effectEnabled
|
||||
source: mainItem.imageSource
|
||||
fillMode: mainItem.fillMode
|
||||
retainWhileLoading: mainItem.retainWhileLoading
|
||||
sourceSize.width: width
|
||||
sourceSize.height: height
|
||||
width: mainItem.imageWidth
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue