-
Notifications
You must be signed in to change notification settings - Fork 517
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix use of shrinkToFit together with drawOutOfBounds false
When having big words on a small grid, using shrinkToFit: true should, together with drawOutOfBounds: false, ensure, that the words are all rendered within the available space. This should be done by shrinking the words as much as needed to fit the available space. However, when drawOutOfBounds is set to false, the code before this commit simply did not render the word at all if it did not fit the grid (anymore). This commit fixes the behaviour so that when setting shrinkToFit to true and drawOutOfBounds to false will correctly render the words on the available space. Co-authored-by: Arne <[email protected]>
- Loading branch information
1 parent
28e2169
commit 8316204
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters