Repository navigation
feat(view): anchor the zoomed view to the screen centre (0.32.0) (#512) - #627
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kg7JN3dEn7yoXtDj7EBqMT
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kg7JN3dEn7yoXtDj7EBqMT
…#512) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kg7JN3dEn7yoXtDj7EBqMT
A middle click on a keyboard-only key box no longer starts autoscroll, which ate the next key once the Hotkeys page began to scroll. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kg7JN3dEn7yoXtDj7EBqMT
#512) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kg7JN3dEn7yoXtDj7EBqMT
- Release the anchor when a reload leaves no registered key, also when a new combo fails to register. - Hide edge-pinned motion of the free pointer from the lock tell while anchored, so a corner push never reads LOCKED. - Judge the anchor-off reset on this tick's lock, after ResolvePanDelta. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kg7JN3dEn7yoXtDj7EBqMT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #512.
What
A new extra key, Anchor to centre (Settings > Hotkeys > Extra keys). Like Hide pointer and Inspect mode it ships unbound with its switch on. Press it to keep the zoomed view on the middle of the screen; press again to follow the pointer.
txNativeCursor=0) and render.How
src/track/fixed_view.h(pure, tested): the monitor centre, clamped by the MPO wall when armed (crosses it above ~17.7x on 3840 px). Keyboard pan now uses the sameClampViewCentre.StepTracking: one more detached-view branch (t.fixedEff). Detached already means no weld, DWM centring off (one private forced write), input transform of the fixed rect.panArmed,trackEnabled,glideOk,warmAllowed, the edge-mode lock-tell hide, recenter. Off edge resets the mapper to the pointer in free sessions (render would otherwise weld the pointer to the centre).RegisterHotKey(id 0xB004) like Hide pointer. A combo that fails to register now logs a Warn (Hide pointer too).fixedViewVk,fixedViewMods,fixedViewOn(per profile, default unbound / on).KEY_SLOTS. Also fixes a middle click on a keyboard-only key box starting autoscroll and eating the next key (surfaced because the Hotkeys page now scrolls).Tests
build.bat test720/720,build.bat check, copyright gate.ui/:npm run test:rules5/5, Playwright 219/219.🤖 Generated with Claude Code
https://claude.ai/code/session_01Kg7JN3dEn7yoXtDj7EBqMT