Skip to content

Commit 3125f67

Browse files
chore: generate
1 parent 550e9cc commit 3125f67

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

‎packages/lab/catalog/scripts/generate-og.ts‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,17 @@ function drawFramePeek(context: SKRSContext2D, frame: Canvas) {
149149
context.beginPath()
150150
context.roundRect(Pad, top, width, visible + radius, radius)
151151
context.clip()
152-
context.drawImage(frame, 0, 0, frame.width, Math.min(frame.height, (visible + radius) / scale), Pad, top, width, Math.min(frame.height * scale, visible + radius))
152+
context.drawImage(
153+
frame,
154+
0,
155+
0,
156+
frame.width,
157+
Math.min(frame.height, (visible + radius) / scale),
158+
Pad,
159+
top,
160+
width,
161+
Math.min(frame.height * scale, visible + radius),
162+
)
153163
context.restore()
154164

155165
context.strokeStyle = "#2c2c2c"

0 commit comments

Comments
 (0)