Skip to content

Commit

Permalink
Make TextLayout.computeArea public
Browse files Browse the repository at this point in the history
This is required so that users can implement custom layout allocators.
  • Loading branch information
JD557 committed May 4, 2024
1 parent 64646ab commit cf18b86
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ object TextLayout:
)
layout(textOp.text, 0, Nil).filter(char => (char.area & textOp.area) == char.area)

private[interim] def computeArea(
def computeArea(
boundingArea: Rect,
text: String,
font: Font
Expand Down

0 comments on commit cf18b86

Please sign in to comment.