lucaspevidor / InteractiveCanvas

A training project for interacting with an environment through HTML canvas
GNU General Public License v3.0
1 stars 0 forks source link

[BUG] Scaling the canvas wont zoom on center, but on the origin #20

Closed lucaspevidor closed 1 year ago

lucaspevidor commented 1 year ago

When scaling the canvas, the scale happens at the origin of the canvas, and not the center.