-
Notifications
You must be signed in to change notification settings - Fork 50
Add an example of compareable solvers in a README? #113
Comments
Another feature I constantly wish to have is having |
This would fit very well with #87.
I agree, but adding new solvers may not be very scalable. It'd be really nice to have an axis solver of type |
I now feel I shouldn't have mixed min/max in this issue. I actually was referring not to
As for solvers probably 2 would be the most common case here, so I agree that this perhaps has to be still proven as really needed to make it into a library... As for the issue, if it's covered by #87 then this one should be closed, Recipes is a perfectly good place for this stuff! :) |
Sorry I forgot to follow-up. Yeah I wouldn't be against adding more overloads if others are running into it too. For now, I'd recommend maintaining an extension function for your project? |
Yeah, I did extension function for fun ContourLayout.minOf(y1: YInt, y2: YInt, y3: YInt): YInt {
return minOf(minOf(y1, y2), y3)
} but unfortunately I can't do the same for |
I've only now watched Adam's presentation about Contour and while I was using it for some time now, this slide blew my mind
I've been occasionally struggling with the fact that sometimes I want one solver and sometimes (depending on view config) another. As a result I had to invent some clever tricks, while I didn't know about this feature.
Can it be somehow made more obvious? Perhaps a mention in README or in some other documentation source?
The text was updated successfully, but these errors were encountered: