Title: [107556] trunk/Source/WebCore
- Revision
- 107556
- Author
- [email protected]
- Date
- 2012-02-13 03:57:00 -0800 (Mon, 13 Feb 2012)
Log Message
[Texmap] morphing-cubes animation appears too close when clicking the button
https://bugs.webkit.org/show_bug.cgi?id=78476
Fixed bug in TextureMapperAnimation that made transform animations that go to/from identity
to not work.
Reviewed by Simon Hausmann.
No behavior changes.
* platform/graphics/texmap/TextureMapperAnimation.cpp:
(WebCore::applyTransformAnimation):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (107555 => 107556)
--- trunk/Source/WebCore/ChangeLog 2012-02-13 11:01:16 UTC (rev 107555)
+++ trunk/Source/WebCore/ChangeLog 2012-02-13 11:57:00 UTC (rev 107556)
@@ -1,3 +1,18 @@
+2012-02-13 No'am Rosenthal <[email protected]>
+
+ [Texmap] morphing-cubes animation appears too close when clicking the button
+ https://bugs.webkit.org/show_bug.cgi?id=78476
+
+ Fixed bug in TextureMapperAnimation that made transform animations that go to/from identity
+ to not work.
+
+ Reviewed by Simon Hausmann.
+
+ No behavior changes.
+
+ * platform/graphics/texmap/TextureMapperAnimation.cpp:
+ (WebCore::applyTransformAnimation):
+
2012-02-13 Yosifumi Inoue <[email protected]>
[Forms] Use enum instead of bool for HTMLInputElement::setValue
Modified: trunk/Source/WebCore/platform/graphics/texmap/TextureMapperAnimation.cpp (107555 => 107556)
--- trunk/Source/WebCore/platform/graphics/texmap/TextureMapperAnimation.cpp 2012-02-13 11:01:16 UTC (rev 107555)
+++ trunk/Source/WebCore/platform/graphics/texmap/TextureMapperAnimation.cpp 2012-02-13 11:57:00 UTC (rev 107556)
@@ -123,7 +123,7 @@
// Animation to "-webkit-transform: none".
if (!to->size()) {
- TransformOperations blended(*to);
+ TransformOperations blended(*from);
for (size_t i = 0; i < blended.operations().size(); ++i)
blended.operations()[i]->blend(0, progress, true)->apply(matrix, boxSize);
return matrix;
@@ -131,7 +131,7 @@
// Animation from "-webkit-transform: none".
if (!from->size()) {
- TransformOperations blended(*from);
+ TransformOperations blended(*to);
for (size_t i = 0; i < blended.operations().size(); ++i)
blended.operations()[i]->blend(0, 1. - progress, true)->apply(matrix, boxSize);
return matrix;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes