This commit is contained in:
Gavin Nishizawa 2023-11-15 21:27:06 -08:00
parent 368d288620
commit 88304c9f62
No known key found for this signature in database
GPG key ID: AE3B177777CE55CD

View file

@ -43,7 +43,7 @@ func NewCloud(box *geo.Box) Shape {
return shape return shape
} }
// TODO this isn't always accurate since the content aspect ratio might be different from the final shape's // TODO this isn't always accurate since the content aspect ratio might be different from the final shape's https://github.com/terrastruct/d2/issues/1735
func (s shapeCloud) GetInnerBox() *geo.Box { func (s shapeCloud) GetInnerBox() *geo.Box {
width := s.Box.Width width := s.Box.Width
height := s.Box.Height height := s.Box.Height