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

Changing a Line's center y-value will cause the Line's frame to change. #660

Closed
Ollstar opened this issue Apr 26, 2016 · 0 comments
Closed
Labels

Comments

@Ollstar
Copy link
Contributor

Ollstar commented Apr 26, 2016

Creates line:

    //create the end points for a line
    let endPoints = [Point(), Point(self.canvas.width, 0)]

    //create the line and center it
    line = Line(endPoints)
    line.center.y = self.canvas.center.y

This changes the Line's frame's width from 736 to 100 which is not expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants