ippa / jaws

Jaws - HTML5 canvas javascript 2D Game Framework
https://jawsjs.ippa.se
GNU Lesser General Public License v3.0
363 stars 75 forks source link

canvas squished on x axis if id=canvas #38

Closed err0 closed 12 years ago

err0 commented 12 years ago

If I set the id of the canvas to "canvas" the whole thing renders squished.

this isn't a huge issue because if the id="something_else" it doesn't matter, but I thought i would mention it as it might point to some broken logic in core.js

ippa commented 12 years ago

I can't repeat this issue here. Do you have an #canvas { ... } entry in your CSS that might cause this?

I've tested this here: http://jawsjs.com/jawsjs/examples/example2.html

err0 commented 12 years ago

I don't think I've touched the style.css file in the examples directory. I am not seeing it on the jawsjs.com site, but I am with the same change to example 2 locally...