aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net/sowgro/npehero/editor/DiffEditor.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/sowgro/npehero/editor/DiffEditor.java')
-rwxr-xr-xsrc/main/java/net/sowgro/npehero/editor/DiffEditor.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main/java/net/sowgro/npehero/editor/DiffEditor.java b/src/main/java/net/sowgro/npehero/editor/DiffEditor.java
index f306d60..77e5fa9 100755
--- a/src/main/java/net/sowgro/npehero/editor/DiffEditor.java
+++ b/src/main/java/net/sowgro/npehero/editor/DiffEditor.java
@@ -147,7 +147,7 @@ public class DiffEditor extends Page
Button exit = new Button();
exit.setText("Back");
- exit.setOnAction(e -> {
+ exit.setOnAction(_ -> {
Sound.playSfx(Sound.BACKWARD);
Driver.setMenu(prev);
});
@@ -183,10 +183,6 @@ public class DiffEditor extends Page
return b;
}
- private DoubleBinding secondToScreenPos(double second) {
- return scroll.heightProperty().multiply(second * 0.9);
- }
-
private DoubleBinding secondToScreenPos(DoubleBinding second) {
return scroll.heightProperty().multiply(second).multiply(0.9);
}