Avoid nudging transitions if a gesture is in progress #2
Following the same steps from #1548 and #1912 for GLFW and iOS ports. Also removed a redundant check if transform state is changing since we're already dealing with that.
This commit is contained in:
@@ -49,7 +49,7 @@ Painter::~Painter() {
|
||||
}
|
||||
|
||||
bool Painter::needsAnimation() const {
|
||||
return frameHistory.needsAnimation(data.getDefaultFadeDuration()) || state.isChanging();
|
||||
return frameHistory.needsAnimation(data.getDefaultFadeDuration());
|
||||
}
|
||||
|
||||
void Painter::setup() {
|
||||
|
||||
Reference in New Issue
Block a user