Skip to content

Commit

Permalink
decrease scores for stroke comparison
Browse files Browse the repository at this point in the history
Revert back commit c328ef3 -- it makes things
worse for me
  • Loading branch information
dkondor committed Aug 29, 2020
1 parent 14b2a37 commit 2e67925
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gesture.cc
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ int Stroke::compare(RStroke a, RStroke b, double &score) {
return -1;
score = MAX(1.0 - 2.5*cost, 0.0);
if (a->timeout)
return score > 0.95;
return score > 0.85;
else
return score > 0.92;
return score > 0.7;
}

Glib::RefPtr<Gdk::Pixbuf> Stroke::draw(int size, double width, bool inv) const {
Expand Down

0 comments on commit 2e67925

Please sign in to comment.