Initial work to reorder zoom fields.

This commit is contained in:
orangemug
2017-11-08 13:45:34 +00:00
parent 3aae2e976f
commit 40235fe473
3 changed files with 98 additions and 4 deletions

View File

@@ -0,0 +1,14 @@
export default function(a, b) {
a = parseFloat(a, 10);
b = parseFloat(b, 10);
if(a < b) {
return -1
}
else if(a > b) {
return 1
}
else {
return 0;
}
}