mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-15 15:58:41 -04:00
allow zooming in to measurement graph, see #170
This commit is contained in:
parent
5a3cda5b63
commit
8a41e17da9
@ -63,7 +63,7 @@ public class DataPlotter implements Drawable {
|
|||||||
double oldSize = size;
|
double oldSize = size;
|
||||||
size *= f;
|
size *= f;
|
||||||
if (size < Style.NORMAL.getThickness()) size = Style.NORMAL.getThickness();
|
if (size < Style.NORMAL.getThickness()) size = Style.NORMAL.getThickness();
|
||||||
if (size > SIZE) size = SIZE;
|
if (size > SIZE * 4) size = SIZE * 4;
|
||||||
return size / oldSize;
|
return size / oldSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user