Change default configuration values and use proper styling

This commit is contained in:
jesse1412
2019-02-11 04:01:44 +00:00
parent d0b4038abe
commit 556da724b7
2 changed files with 10 additions and 10 deletions

View File

@@ -56,23 +56,23 @@ public interface TileIndicatorsConfig extends Config
@Alpha @Alpha
@ConfigItem( @ConfigItem(
keyName = "highlightCurrentColor", keyName = "highlightCurrentColor",
name = "Color of current tile highlighting", name = "Color of current tile highlighting",
description = "Configures the highlight color of current destination" description = "Configures the highlight color of current destination"
) )
default Color highlightCurrentColor() default Color highlightCurrentColor()
{ {
return Color.GRAY; return Color.cyan;
} }
@ConfigItem( @ConfigItem(
keyName = "highlightCurrentTile", keyName = "highlightCurrentTile",
name = "Highlight current tile", name = "Highlight current tile",
description = "Highlights tile player is on" description = "Highlights tile player is on"
) )
default boolean highlightCurrentTile() default boolean highlightCurrentTile()
{ {
return true; return false;
} }
@ConfigItem( @ConfigItem(

View File

@@ -66,8 +66,8 @@ public class TileIndicatorsOverlay extends Overlay
{ {
Point p = client.getMouseCanvasPosition(); Point p = client.getMouseCanvasPosition();
p = new Point( p = new Point(
p.getX() - client.getViewportXOffset(), p.getX() - client.getViewportXOffset(),
p.getY() - client.getViewportYOffset()); p.getY() - client.getViewportYOffset());
client.setCheckClick(true); client.setCheckClick(true);
client.setMouseCanvasHoverPosition(p); client.setMouseCanvasHoverPosition(p);