gosub-io / gosub-engine

Our main browser engine repository.
https://gosub.io
MIT License
3.31k stars 157 forks source link

fix rounded border #648

Open Sharktheone opened 2 hours ago

Sharktheone commented 2 hours ago

Currently, in our render backend, border-radius doesn't work. It produces very incorrect results.

For that to be fixed though, we need #650 to also be fixed at least for the border-radius part

However, it can be fixed by mutating the default border-radius values. Not optimal, but it would work to resolve the issue.

Sharktheone commented 1 hour ago

for anyone looking for pointers, the issue lives propably somewhere in here: https://github.com/gosub-io/gosub-engine/blob/8a01d75d59de7a388088bee3b8c26aed3227959e/crates/gosub_vello/src/border.rs#L130