Zooming inout on a regular note affects the zoom level inside canvas ...

Replicating this bug is pretty simple, zoom in/out on a regular note and it affects the zoom level inside canvas cards. The zoom level of canvas cards gets affected even when you don't have a canvas file open if you zoom on a regular note . At least for me this bug is bothersome, because I try to align the text in my canvas cards precisely for easier reading and a more organized look. It's ...

Use case or problem Turning on Quick font adjustment and then zooming in or out from any note also changes the font size from cards in the canvases, leading to some notes to have overflown text or very small text.
How to Force Page Zoom to 100 with JavaScript

Canvas games are beloved for their pixel-perfect graphics, smooth animations, and precise user interactions. However, a common yet overlooked issue can break this experience: **non-default browser zoom levels **. When users adjust their browser zoom (e.g., zooming in to 125% or out to 80%), canvas elements often scale unevenly, leading to blurry graphics, misaligned hitboxes, or even clipped ...
Hi, How do I stop canvas resizing when I zoom in and out on my .md notes but when I zoom in and out in the Canvas the text remain unaffected which is a good thing for me, so basically if I want to zoom in and out in a .md file then all .md file only and Canvas text remains unaffected. Thanks!

Canvas Zoom and Pan Zoom Relative to Pointer Position
Zooming stage relative to pointer position This demo shows how to implement zooming that is relative to the mouse pointer position. This creates a more natural zooming experience where the content scales around the mouse cursor. Instructions: Use your mouse wheel or trackpad to zoom in and out . Notice how the content scales around the position of your cursor, rather than the center of the stage.
When zooming in/out you will get better performance if you cache your canvas to a second in -memory canvas and use that second canvas as a source to draw onto the main canvas . When not zooming you directly use the main canvas for drawing. Here is a previous Q&A showing how to zoom into the mouse position.

Overview of Zooming In Out On A Regular Note Affects The Zoom Level Inside Canvas
Use a basic 2x zoom scale and multiply the size by 2 when zooming in . Divide by 2 when zooming out . Redraw the canvas with new sizes for each zoomin/zoomout event.
Figma has a 100% custom rendering engine and doesn't use regular markup at all for the editing views, so it does zooming in the same way you might zoom content you're rendering on a < canvas >.

Simple Pan and Zoom Canvas
A simple example of internally handling scrolling and zooming of canvas contents using mouse and touch events. No JQuery, no libraries, pure JS....







