cykod / Quintus

HTML5 Game Engine
http://html5quintus.com
GNU General Public License v2.0
1.41k stars 401 forks source link

Possible typo in quintus_ui.js comments #159

Open donmik opened 9 years ago

donmik commented 9 years ago

Hi,

I was wondering if there is a typo in the comments of the Container. The properties x and y refer to the top left corner but I've tried it and I believe those properties refer to the center of container and not the top left. Am I missing something?

Thanks!

cykod commented 9 years ago

No you are right, they refer to the middle of the container unless you override cx and cy.