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

[ASImageNode] Move debug label and will- / didDisplayNodeContentWithRenderingContext out of drawing method #trivial #235

Merged
merged 2 commits into from
May 4, 2017

Conversation

maicki
Copy link
Contributor

@maicki maicki commented May 4, 2017

To be able to switch to a more transaction based drawing and therefore using the class drawing methods this is a small change to reduce the reliance on self in the drawing method by moving the debug label setup code as well as the will- / didDisplayNodeContentWithRenderingContext in the drawing parameters.

@ghost
Copy link

ghost commented May 4, 2017

1 Warning
⚠️ Any source code changes should have an entry in CHANGELOG.md or have #trivial in their title.

Generated by 🚫 Danger

@maicki maicki changed the title [ASImageNode] Move debug label and will- / didDisplayNodeContentWithRenderingContext out of drawing method [ASImageNode] Move debug label and will- / didDisplayNodeContentWithRenderingContext out of drawing method #trivial May 4, 2017
Copy link
Member

@garrettmoon garrettmoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet, thank you @maicki!

@garrettmoon garrettmoon merged commit 17d9564 into master May 4, 2017
@maicki maicki deleted the MSMoveDebugLabelLayoutImageNode branch May 5, 2017 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants