Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No clipping fill_text() outside the canvas #751

Open
ArtHome12 opened this issue Feb 25, 2021 · 1 comment
Open

No clipping fill_text() outside the canvas #751

ArtHome12 opened this issue Feb 25, 2021 · 1 comment
Labels
bug Something isn't working rendering text

Comments

@ArtHome12
Copy link

This is easily seen in the example game_of_life.
If add some number to frame.height() at code below, the text will be displayed on button "Clear"

let text = Text {
    color: Color::WHITE,
    size: 14.0,
    position: Point::new(frame.width(), frame.height() **+ 30.0**),

Screenshot

@hecrj hecrj added the bug Something isn't working label Feb 27, 2021
@hecrj
Copy link
Member

hecrj commented Feb 27, 2021

Related to #41.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working rendering text
Projects
None yet
Development

No branches or pull requests

2 participants