Skip to content

Commit

Permalink
Merge pull request #38 from tiemonl/feature/NOGH_fix_windows_color
Browse files Browse the repository at this point in the history
NOGH: changed windows rgb value to not use octal 030 for decimal 30
  • Loading branch information
Liam authored Sep 11, 2019
2 parents f8004e9 + 701cc52 commit b9175a2
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions java/bh-fisher/src/dev/garlicbread/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,7 @@ public static void main(String[] args) throws AWTException, InterruptedException
}

private static void setUpColors() {
if (OS.indexOf("win") >= 0) {
startButtonGreen = new Color(155, 208, 30);
castButtonBlue = new Color(030, 170, 208);
colorCloseItGotAwayButton = new Color(030, 170, 208);
colorTimerCaughtFishKong = new Color(56, 255, 56);
colorTimerCaughtFishSteam = new Color(59, 255, 59);
colorJunkItem = new Color(255, 255, 255);
oneHundredCatchColor = new Color(77, 254, 0);
} else if (OS.indexOf("mac") >= 0) {
if (OS.indexOf("mac") >= 0) {
startButtonGreen = new Color(139, 202, 24);
castButtonBlue = new Color(31, 153, 197);
colorCloseItGotAwayButton = new Color(31, 153, 197);
Expand Down Expand Up @@ -110,7 +102,6 @@ public static void setLocations() {
locationTopLeftWeightScreenshot = new Point(locationStartButton.x - 25, locationStartButton.y - 130);
locationBottomRightWeightScreenshot = new Point(locationStartButton.x + 160, locationStartButton.y - 50);
location100Position = new Point(locationStartButton.x + 373, locationStartButton.y - 81);

}

public static void startFishing() throws InterruptedException {
Expand Down

0 comments on commit b9175a2

Please sign in to comment.