Change default configuration values and use proper styling
This commit is contained in:
@@ -56,23 +56,23 @@ public interface TileIndicatorsConfig extends Config
|
||||
|
||||
@Alpha
|
||||
@ConfigItem(
|
||||
keyName = "highlightCurrentColor",
|
||||
name = "Color of current tile highlighting",
|
||||
description = "Configures the highlight color of current destination"
|
||||
keyName = "highlightCurrentColor",
|
||||
name = "Color of current tile highlighting",
|
||||
description = "Configures the highlight color of current destination"
|
||||
)
|
||||
default Color highlightCurrentColor()
|
||||
{
|
||||
return Color.GRAY;
|
||||
return Color.cyan;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "highlightCurrentTile",
|
||||
name = "Highlight current tile",
|
||||
description = "Highlights tile player is on"
|
||||
keyName = "highlightCurrentTile",
|
||||
name = "Highlight current tile",
|
||||
description = "Highlights tile player is on"
|
||||
)
|
||||
default boolean highlightCurrentTile()
|
||||
{
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
|
||||
@@ -66,8 +66,8 @@ public class TileIndicatorsOverlay extends Overlay
|
||||
{
|
||||
Point p = client.getMouseCanvasPosition();
|
||||
p = new Point(
|
||||
p.getX() - client.getViewportXOffset(),
|
||||
p.getY() - client.getViewportYOffset());
|
||||
p.getX() - client.getViewportXOffset(),
|
||||
p.getY() - client.getViewportYOffset());
|
||||
|
||||
client.setCheckClick(true);
|
||||
client.setMouseCanvasHoverPosition(p);
|
||||
|
||||
Reference in New Issue
Block a user