Branch: refs/heads/3.12.x Home: https://github.com/cytoscape/cytoscape.js Commit: da314cbccad542711fb5565bf17f6ec3e05dc762 https://github.com/cytoscape/cytoscape.js/commit/da314cbccad542711fb5565bf17f6ec3e05dc762 Author: Max Franz <maxkfr...@gmail.com> Date: 2020-02-07 (Fri, 07 Feb 2020)
Changed paths: M src/core/animation/ease.js M src/define/animation.js Log Message: ----------- In `src/define/animation.js`, `properties.zoom` may have a value like `{ level: 1 }` if an invalid zoom level is specified. The application of a zoom animation to the current zoom level is invalid. For example, animating from zoom:1 to zoom:1 doesn't make sense. When there is a case of an invalid zoom animation, the entire `zoom` animation value is discarded. This voids the animation. In the easing application routine, there is now an extra check for equal start and end values. While this does not affect the code path for the zoom:1 to zoom:1 example, it adds an extra layer of safety. Ref : Backport 3.12.x : Specifying a no-effect zoom animation causes an error #2625 #2614 -- You received this message because you are subscribed to the Google Groups "cytoscape-cvs" group. To unsubscribe from this group and stop receiving emails from it, send an email to cytoscape-cvs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/cytoscape-cvs/cytoscape/cytoscape.js/push/refs/heads/3.12.x/061919-da314c%40github.com.