Skip to content
Snippets Groups Projects
Unverified Commit 106fc983 authored by Ellie's avatar Ellie Committed by Oliver Smith
Browse files

Improve animation threshold (shouldn't matter with MR !90 but does without) (MR 91)

parent 074dd4c1
No related branches found
No related tags found
No related merge requests found
......@@ -179,7 +179,7 @@ void Keyboard::draw(SDL_Renderer *renderer, Config *config, int screenHeight) {
bool Keyboard::isInSlideAnimation() {
return (fabs(
getTargetPosition() - getPosition()
) > 0.0001);
) > 0.001);
}
void Keyboard::drawRow(SDL_Surface *surface, vector<touchArea> *keyList, int x, int y, int width, int height,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment