Skip to content

Commit 608b375

Browse files
authored
Merge pull request #4 from RaazKH/add-tooltip-and-update-author
refactor: update description and add for plugin hover
2 parents 29f2dc3 + 32b18c2 commit 608b375

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Compass Camera Control
22

3-
A RuneLite plugin that allows you to control the camera direction by simply clicking the compass orb, cycling through cardinal directions without using the arrow keys. Ideal for trackpad users!
3+
A RuneLite plugin that allows you to control the camera direction by simply clicking the compass orb, cycling through cardinal directions or snapping to the closest one.
44

55
## Configuration
66

runelite-plugin.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
displayName=Compass Camera control
2-
author=Khoshnood
2+
author=Raaz
33
support=https://github.com/RaazKH/CompassCameraControl
4-
description=Clicking on compass will do more than just face camera north
4+
description=Expands compass functionality
55
tags=camera, compass, control, navigation, usability, convenience
66
plugins=com.compassCameraControl.CompassCameraControlPlugin

src/main/java/com/compassCameraControl/CompassCameraControlPlugin.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515

1616
@Slf4j
1717
@PluginDescriptor(
18-
name = "Compass Camera Control"
18+
name = "Compass Camera Control",
19+
description = "Expands compass functionality",
20+
tags = {"camera, compass, control, navigation, usability, convenience"}
1921
)
2022
public class CompassCameraControlPlugin extends Plugin
2123
{
@@ -106,7 +108,6 @@ private void alignYaw()
106108
if (dWest < closestYawDistance)
107109
{
108110
closestYaw = WEST_YAW;
109-
closestYawDistance = dWest;
110111
}
111112

112113
client.setCameraYawTarget(closestYaw);

0 commit comments

Comments
 (0)