Change default configuration values and use proper styling
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user