-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Description
The deployed example works fine: https://www.raylib.com/examples/core/core_2d_camera_mouse_zoom.html
Latest master (281ee51) behaviour is input gets translated incorrectly and on initial load the canvas is not scaled and positioned incorrectly in bottom-left corner as well. This is because of width: 100% in template that tries to scale the canvas, but this most likely fails to scale the underlying window:
See #4455 for original discussion.
Reproduction steps are simply using latest emsdk master, then navigating to raylib src/ directory, running:
make PLATFORM=PLATFORM_WEB -Bthen navigating to examples/ directory and running:
make PLATFORM=PLATFORM_WEB -Band then running:
emrun --port 8080 core/core_2d_camera_mouse_zoom.htmlMetadata
Metadata
Assignees
Labels
No labels
