Skip to content

refactor: add timer to hybrid click - #30

Merged
RaazKH merged 2 commits into
masterfrom
add-timer-to-hybrid-click
Jun 1, 2026
Merged

RaazKH merged 2 commits into
masterfrom
add-timer-to-hybrid-click

Conversation

@RaazKH

@RaazKH RaazKH commented Jun 1, 2026

Copy link
Copy Markdown
Owner

Slight tweak to "Snap then cycle"
Fixes #29

RaazKH added 2 commits June 1, 2026 15:52
Slight tweak to "Snap then cycle"
Fixes #29
@RaazKH
RaazKH requested a review from Copilot June 1, 2026 20:54
@RaazKH RaazKH self-assigned this Jun 1, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts the “Snap Then Cycle” hybrid behavior so that cycling only occurs on a quick re-click/re-press, addressing the UX concern in issue #29 where users could accidentally start cycling when they only intended to re-snap/confirm alignment.

Changes:

  • Added a 2-second timeout window for “Snap Then Cycle” so cycling only happens on a quick repeat action while already on an allowed cardinal.
  • Updated config UI descriptions and README documentation to reflect the new timing-based behavior.
  • Bumped plugin version to 1.2.4.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/main/java/com/compassCameraControl/CompassCameraControlPlugin.java Adds timestamp tracking and timeout-gated cycling for the hybrid “Snap Then Cycle” action.
src/main/java/com/compassCameraControl/CompassCameraControlConfig.java Updates configuration descriptions to match the new “quick re-press within 2 seconds” behavior.
README.md Documents the new timeout-based “Snap Then Cycle” UX.
runelite-plugin.properties Version bump to 1.2.4.
build.gradle Version bump to 1.2.4.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@RaazKH
RaazKH merged commit 6c1892c into master Jun 1, 2026
1 check passed
@RaazKH
RaazKH deleted the add-timer-to-hybrid-click branch June 1, 2026 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Slight tweak to "Snap then cycle"

2 participants