From afc62656bf612b6b6236a8bbebb6e50dc98fb4df Mon Sep 17 00:00:00 2001 From: Sebastian Stenzel Date: Sat, 13 Dec 2014 15:08:26 +0100 Subject: [PATCH] - learning mathematics --- .../ui/src/main/java/org/cryptomator/ui/UnlockedController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/ui/src/main/java/org/cryptomator/ui/UnlockedController.java b/main/ui/src/main/java/org/cryptomator/ui/UnlockedController.java index d14408bc7..7d7b05452 100644 --- a/main/ui/src/main/java/org/cryptomator/ui/UnlockedController.java +++ b/main/ui/src/main/java/org/cryptomator/ui/UnlockedController.java @@ -82,7 +82,7 @@ public class UnlockedController implements Initializable { private class IoSamplingAnimationHandler implements EventHandler { - private static final double BYTES_TO_MEGABYTES_FACTOR = IO_SAMPLING_INTERVAL / 1024.0 / 1024.0; + private static final double BYTES_TO_MEGABYTES_FACTOR = 1.0 / IO_SAMPLING_INTERVAL / 1024.0 / 1024.0; private final CryptorIOSampling sampler; private final Series decryptedBytes; private final Series encryptedBytes;