• Joel Martin's avatar
    Preliminary scaling code (deactivated). · 125d8bbb
    Joel Martin authored
    Uses the CSS "scale()" operation. The main problem is that the DOM
    container is not rescaled, only the size of the displayed content
    within it so there will need to be some sort of mechanism to handle
    this better so other elements reflow to the new size. Or it might just
    not work and be removed later. The zoom property seems to do the right
    behavior, but it's not widely supported. Worth exploring though.
    125d8bbb
canvas.js 20.3 KB