Jump to content

EaselJS can't figure out how to resize canvas.


shvalb
 Share

Recommended Posts

Hi,

 

I have followed several tutorials on this subject, but none of them really worked for me.

 

Basically all you have to do is listen to 'resize' browser's event and then set the canvas x\y to the new value and finally update the stage.

 

I have done all of this but the main bitmap that is rendered on the page doesn't change when I resize the browser.

 

Any ideas?

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...