We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f05343 commit 0c0ed23Copy full SHA for 0c0ed23
src/main/java/com/tagtraum/perf/gcviewer/action/Zoom.java
@@ -33,7 +33,7 @@ public void actionPerformed(final ActionEvent e) {
33
try {
34
String item = (String)o[0];
35
if (item.endsWith("%")) item = item.substring(0, item.length()-1);
36
- final int zoomFactor = NumberParser.parseInt(item.trim());
+ final double zoomFactor = Double.parseDouble(item.trim());
37
if (zoomFactor > 0) gcViewer.getSelectedGCDocument().getModelChart().setScaleFactor(zoomFactor/1000.0);
38
}
39
catch (NumberFormatException nfe) {
0 commit comments