Changeset 60040 in webkit
- Timestamp:
- May 23, 2010 4:59:16 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r60038 r60040 1 2010-05-23 Noam Rosenthal <noam.rosenthal@nokia.com> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [Qt] Using Accelerated Composing the rocket back animation on http://www.the-art-of-web.com/css/css-animation/ works differently as when not using AC. 6 https://bugs.webkit.org/show_bug.cgi?id=39513 7 8 The value of GraphicsLayer->transform() needs to be changed during the animation, regardless of m_fillsForward. 9 m_fillsForward should only apply at the end of the animation. Based on previous patch by Kenneth Christiansen. 10 11 * platform/graphics/qt/GraphicsLayerQt.cpp: 12 (WebCore::TransformAnimationQt::applyFrame): 13 (WebCore::OpacityAnimationQt::applyFrame): 14 1 15 2010-05-23 Kenneth Rohde Christiansen <kenneth@webkit.org> 2 16 -
trunk/WebCore/platform/graphics/qt/GraphicsLayerQt.cpp
r60038 r60040 1321 1321 } 1322 1322 1323 m_layer.data()->m_layer->setTransform(transformMatrix); 1324 // We force the actual opacity change, otherwise it would be ignored because of the animation. 1323 1325 m_layer.data()->setBaseTransform(transformMatrix); 1324 if (m_fillsForwards)1325 m_layer.data()->m_layer->setTransform(m_layer.data()->m_baseTransform);1326 1326 } 1327 1327 … … 1371 1371 m_layer.data()->scene()->update(); 1372 1372 1373 m_layer.data()->m_layer->setOpacity(opacity); 1374 // We force the actual opacity change, otherwise it would be ignored because of the animation. 1373 1375 m_layer.data()->setOpacity(opacity); 1374 if (m_fillsForwards)1375 m_layer.data()->m_layer->setOpacity(opacity);1376 1376 } 1377 1377
Note: See TracChangeset
for help on using the changeset viewer.