allow zooming in to measurement graph, see #170

This commit is contained in:
hneemann 2018-07-09 09:41:23 +02:00
parent 5a3cda5b63
commit 8a41e17da9

View File

@ -63,7 +63,7 @@ public class DataPlotter implements Drawable {
double oldSize = size;
size *= f;
if (size < Style.NORMAL.getThickness()) size = Style.NORMAL.getThickness();
if (size > SIZE) size = SIZE;
if (size > SIZE * 4) size = SIZE * 4;
return size / oldSize;
}