pharo-graphics / Alexandrie

FFI bindings and a 2D canvas for Pharo based on Cairo, Freetype and Harfbuzz
MIT License
5 stars 2 forks source link

Rendering round corner in a zero sized element raises a ZeroDivide error #29

Closed plantec closed 1 year ago

plantec commented 1 year ago

It raises an error.

an example with ToSandbox class >> example_BasicComboBox

https://user-images.githubusercontent.com/435221/230668298-e1fa2a14-0363-43a5-be08-092dbef4a471.mov

tinchodias commented 1 year ago

The fix corresponds to Bloc's repo. I pushed a commit there that seems to close this issue.

tinchodias commented 1 year ago

Yes, this should be fixed, same as https://github.com/pharo-graphics/Alexandrie/issues/28