changeset 6 | 1c3b8676e58c |
parent 5 | 0f2326c2a325 |
5:0f2326c2a325 | 6:1c3b8676e58c |
---|---|
44 |
44 |
45 void FadeAnimator::updateVisibility(qreal step) |
45 void FadeAnimator::updateVisibility(qreal step) |
46 { |
46 { |
47 qreal o = 1.0 - step; |
47 qreal o = 1.0 - step; |
48 m_snippet->widget()->setOpacity((o > m_minOpacity)?o:m_minOpacity); |
48 m_snippet->widget()->setOpacity((o > m_minOpacity)?o:m_minOpacity); |
49 |
|
50 qDebug() << step; |
|
51 } |
49 } |
52 |
50 |
53 } |
51 } |