barmalei / zebkit

JavaScript library that follows easy OOP concept, provides HTML5 Canvas based Rich UI and includes Java to JavaScript converter tool
Apache License 2.0
931 stars 178 forks source link

【iOS 9.1 Safari】canvas width and height is invalidate when rotate back to portrait orientation #83

Open jfojfo opened 8 years ago

jfojfo commented 8 years ago

first portrait, then rotate to landscape, then rotate back to portrait, screen size will become wrong.

see my fix here: https://github.com/jfojfo/zebra/commit/109b699c78f51b152ef4f4d60540458ad156698c

barmalei commented 8 years ago

This fix has to be investigated on different platforms, before making a decision for its commitment.