Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
68912f6d64
commit
444d67ac79
7 files changed
+51
-16
No files matched your search
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user