fix: coalesce pinch updates and stop live zoom write-back
All checks were successful
CI / Windows build (push) Successful in 9m55s

Surface Aug6 diag showed sDrop=0 but ~220 same-ms dual ZOOM frames and √2 cur ping-pong from reading currentZoom back into pinch state. Flush once per microtask and embed gitSha in diagnostic meta.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-06 03:44:10 +08:00
parent 4f6fb69dee
commit 85af037b7d
5 changed files with 150 additions and 40 deletions

View File

@@ -220,7 +220,13 @@ jobs:
HTTPS_PROXY: http://192.168.31.189:7890
http_proxy: http://192.168.31.189:7890
https_proxy: http://192.168.31.189:7890
run: flutter build windows --release
shell: powershell
run: |
$sha = if ($env:GITHUB_SHA) { $env:GITHUB_SHA.Substring(0, [Math]::Min(12, $env:GITHUB_SHA.Length)) } else { "unknown" }
$built = Get-Date -Format "yyyy-MM-ddTHH:mm:ssK"
flutter build windows --release `
--dart-define="BADNOTE_GIT_SHA=$sha" `
--dart-define="BADNOTE_BUILD_TIME=$built"
- name: Show build output
shell: powershell