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

the render result isn't responsive when canvas resize #8028

Closed
a873054267 opened this issue Jun 28, 2022 · 3 comments
Closed

the render result isn't responsive when canvas resize #8028

a873054267 opened this issue Jun 28, 2022 · 3 comments

Comments

@a873054267
Copy link

I had try to solve this problem according to #7502 ,#7537;
But that's still not correct;
example:
first render a rect 100100 on canvas size 200200
resize canvas 400400,I expect the rect size is 200200,

@a873054267
Copy link
Author

I had try to solve this problem according to #7502 ,#7537; But that's still not correct; example: first render a rect 100_100 on canvas size 200_200 resize canvas 400_400,I expect the rect size is 200_200,

I found another method: rect.scaleToWidth and scaleToWidth ;

@a873054267
Copy link
Author

I had try to solve this problem according to #7502 ,#7537; But that's still not correct; example: first render a rect 100_100 on canvas size 200_200 resize canvas 400_400,I expect the rect size is 200_200,

I found another method: rect.scaleToWidth and scaleToWidth ;

But I found another bug:
the controls isn't refresh cause edit bug;
image

@a873054267
Copy link
Author

I had try to solve this problem according to #7502 ,#7537; But that's still not correct; example: first render a rect 100_100 on canvas size 200_200 resize canvas 400_400,I expect the rect size is 200_200,

I found another method: rect.scaleToWidth and scaleToWidth ;

But I found another bug: the controls isn't refresh cause edit bug; image

I kow the problem caused by the canvas size not update

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

1 participant