sbrin / lopaka

Lopaka - Stunning graphics for embedded systems displays
https://lopaka.app
Apache License 2.0
315 stars 18 forks source link

Rounded rectangle #154

Closed sbrin closed 1 month ago

cloudflare-pages[bot] commented 3 months ago

Deploying lopaka-dev with  Cloudflare Pages  Cloudflare Pages

Latest commit: 407854e
Status: ✅  Deploy successful!
Preview URL: https://4b27e384.lopaka-dev.pages.dev
Branch Preview URL: https://rounded-rectangle.lopaka-dev.pages.dev

View logs

github-actions[bot] commented 3 months ago

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 53.31% 3343 / 6270
🔵 Statements 53.31% 3343 / 6270
🔵 Functions 23.22% 118 / 508
🔵 Branches 83.83% 223 / 266
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/core/point.ts 89.95% 100% 70.37% 89.95% 154-155, 180-184, 186-187, 192-193, 195-198, 200-201, 204-205, 207-208
src/core/layers/rectangle.layer.ts 48.59% 100% 9.67% 48.59% 32-35, 41-44, 50-53, 59-62, 68-73, 79-81, 87-90, 96-98, 107-112, 114-124, 129-132, 134-135, 140-145, 147-157, 162, 164-174, 190-204, 207-226, 229-231, 234-239
src/draw/draw-context.ts 16.26% 100% 8.33% 16.26% 14-16, 19-24, 27-33, 36-56, 59-68, 71-75, 78-102, 105-127, 130-141, 144-169, 172-208
src/platforms/layers.mock.ts 100% 100% 100% 100%
Generated in workflow #65
sbrin commented 2 months ago

IMAGE 2024-04-18 11:41:43

this happens if you set the radius and then resize

sbrin commented 2 months ago

https://github.com/sbrin/lopaka/assets/1325864/18d3d2fc-aff4-4fb5-a1fe-98dad4e2e414

Thank you. Now it's better, but still a bit weird