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

How to scale the Slider group? #3

Open
vitorregisrr opened this issue Oct 11, 2018 · 1 comment
Open

How to scale the Slider group? #3

vitorregisrr opened this issue Oct 11, 2018 · 1 comment

Comments

@vitorregisrr
Copy link

I wanna add a feature that resizes the slider group, how can i?
I didnt understand this part of the code. Why when i scale the main group the content dont scale?
Like:
slider.sliderMainGroup.scale.setTo(2,2);

@vitorregisrr vitorregisrr changed the title How to scale the phaser? How to scale the Slider group? Oct 11, 2018
@netgfx
Copy link
Owner

netgfx commented Oct 15, 2018

Have you tried slider.prototype.sliderMainGroup.scale.setTo(2,2) otherwise you might not be able to scale the slider from the outside, which makes sense because it would probably mess with the mask as well. This needs to be done from inside the slider plugin code probably.

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

No branches or pull requests

2 participants