plugins/slide: add special case for instant animations
In springmotion.cpp for the slide plugin, there are issues when animations are disabled, namely a black screen flicker. The flicker is caused by float under/overflow (div-by-0 -> infinity). This commit fixes that by special-casing an infinite spring constant, so that the animation immediately jumps to the anchor. BUG: 472901
-
mentioned in commit 1c447b7c
-
mentioned in merge request !4516 (merged)
Please register or sign in to comment