Skip to content

Commit

Permalink
Fixed inversed graph bug
Browse files Browse the repository at this point in the history
  • Loading branch information
LatvianModder committed Mar 27, 2015
1 parent f11be11 commit 005316b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/latmod/cursegraph/Graph.java
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public void paint(Graphics g)
else
{
x = Utils.map(time, minTime, maxTime, 0D, w);
y = h - Utils.map(downs, minDown, maxDown, h, 0D);
y = Utils.map(downs, minDown, maxDown, h, 0D);
}

y = Math.max(2, Math.min(y, h - 2));
Expand Down
2 changes: 1 addition & 1 deletion src/latmod/cursegraph/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

public class Main
{
public static final int version = 3;
public static final int version = 4;
public static int latestVersion = -1;

public static TrayIcon trayIcon = null;
Expand Down

0 comments on commit 005316b

Please sign in to comment.