Skip to content

Conversation

@nicky1038
Copy link

@nicky1038 nicky1038 commented Mar 26, 2019

Before this proposal one could pass a custom factor parameter to graphics.scale method BUT calling it directly causes:

  • no redendering;
  • no raising scale event by renderer;
  • no changing of transform.scale.

Of course these actions could be done later in third party code, but in this case it should just repeat the existing renderer.scale method. It's better to allow developers not to do so.

…erer (not graphics)

Before this proposal one could pass custom factor to 'graphics.scale' BUT calling this method directly causes:
 - no redendering;
 - no raising 'scale' event by renderer;
 - no changing 'transform.scale'.

Of course these actions could be done later in third party code, but in this case it should just repeat the existing 'renderer.scale' method. It's better to allow developers not to do so.
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.

1 participant