Skip to content
Snippets Groups Projects
Commit 800f8665 authored by Matyáš Latner's avatar Matyáš Latner
Browse files

Merge branch 'feature-createuser' into 'devel'

#112 Feature createuser - wrong sounds when creating user in SK version

Added sounds for SK version, when creating new user

See merge request !175
parents 792d24cb 4dbd4d33
No related merge requests found
File added
File added
File added
File added
File added
File added
File added
......@@ -27,7 +27,9 @@ public class SignatureInputPane extends SignaturePane {
for (Array<Vector2> array : absolutePaths) {
Array<Point> percentageArray = new Array<Point>(array.size);
percentagePaths.add(percentageArray);
for (Vector2 point : array) {
// don't use foreach here. It fails with it sometimes due to multi thread call of this method
for (int i = 0; i < array.size; i++) {
Vector2 point = array.get(i);
percentageArray.add(new Point(point.x / getWidth(), point.y / getHeight()));
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment