Also regenerate the value pixmap when the height changes

It could generate a visual glitch if the program plays with the bar's height.

Thanks David Edmunson for noticing :)
REVIEW: 105966
This commit is contained in:
Aleix Pol 2012-08-16 01:51:17 +02:00
parent dbc758db7a
commit e8ef093ea8

View File

@ -151,6 +151,7 @@ Item {
visible: indeterminate || value > 0 visible: indeterminate || value > 0
onWidthChanged: resizeTimer.restart() onWidthChanged: resizeTimer.restart()
onHeightChanged: resizeTimer.restart()
SequentialAnimation { SequentialAnimation {
id: indeterminateAnimation id: indeterminateAnimation