OSK: sit on top of the panel instead of covering it
CI / test (push) Failing after 49s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
nandiandClaude Opus 5.5 committed 2026-11-28 23:11:59 -08:00
1 parent 68912f6d64
commit 444d67ac79
7 files changed
+51 -16

No files matched your search

+1 -1
View File
@@ -443,7 +443,7 @@ fn ChandraCompositor::auth_ops(self : ChandraCompositor) -> Array[@scene.DrawOp]
// Place the card in the middle (shaking after a failure) with a soft shadow.
let h = y
let cx = (sw - w) / 2 + d.shake_offset(now)
let avail_h = if self.osk_visible { sh - self.osk_height() } else { sh }
let avail_h = sh - self.osk_bottom_inset()
let cyy = ((avail_h - h) / 2).max(8)
for k = 1; k <= 4; k = k + 1 {
ops.push(@scene.DrawOp::FillRect(@scene.Rect::new(cx - k * 2, cyy - k * 2 + 6, w + k * 4, h + k * 4), @scene.Rgba::new(0, 0, 0, 22), rad + 6 + k * 2))