Skip to content
This repository has been archived by the owner on Nov 18, 2019. It is now read-only.

Canvas scaling #1

Closed
Scoudem opened this issue May 14, 2015 · 0 comments
Closed

Canvas scaling #1

Scoudem opened this issue May 14, 2015 · 0 comments
Labels

Comments

@Scoudem
Copy link

Scoudem commented May 14, 2015

The signature pad needs to be scaled to fit the screen.
The canvas is sized with these html properties (from template):

<canvas height="220" width="568"></canvas>

Applying CSS width and height elements to the canvas scales the context instead of resizing the canvas, providing an offset to every stroke.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants