Quellcode durchsuchen

- learning mathematics

Sebastian Stenzel vor 10 Jahren
Ursprung
Commit
afc62656bf
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      main/ui/src/main/java/org/cryptomator/ui/UnlockedController.java

+ 1 - 1
main/ui/src/main/java/org/cryptomator/ui/UnlockedController.java

@@ -82,7 +82,7 @@ public class UnlockedController implements Initializable {
 
 	private class IoSamplingAnimationHandler implements EventHandler<ActionEvent> {
 
-		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<Number, Number> decryptedBytes;
 		private final Series<Number, Number> encryptedBytes;