Skip to content

fix(browser): apply emulation scale to scroll viewport center - #520

Merged
Hona merged 1 commit into
devfrom
ws9/fix-scroll-emulation-scale
Nov 21, 2026
Merged

Hona merged 1 commit into
devfrom
ws9/fix-scroll-emulation-scale

Conversation

@Hona

@Hona Hona commented Nov 21, 2026

Copy link
Copy Markdown
Member

Closes READER-10's non-blocking nit from #444 Round 3 (
otes/review-rd-tools.md): \InputStep::GetViewportCenter\ (\�pps/desktop/src/surfaces/browser/rpc/exec/input.rs:751-756) now multiplies (w / 2.0, h / 2.0)\ by \ ab.emulation_info().0\ so \�rowser.scroll\ without
ef\ lands at the viewport center under < 0.5x\ device emulation instead of failing closed in \InputGuard.

  • \scripts/guardrails.ps1: 5/5 passed on merged \origin/dev\ (\32bfcf01).

@Hona
Hona merged commit 13a48d1 into dev Nov 21, 2026
6 checks passed
@Hona
Hona deleted the ws9/fix-scroll-emulation-scale branch November 21, 2026 11:02
@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

PR test build retired — merged into dev. Install or auto-update OpenCode (Rune) from https://anoma.ly/release/opencode/desktop-rune/dev/macos-arm64-dmg.

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.

1 participant