mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-03-16 22:10:32 +00:00
Update HEADER.js
Moved fabric.DPI to proper file.
This commit is contained in:
parent
5ca64ad636
commit
df7671daa3
1 changed files with 5 additions and 0 deletions
|
|
@ -44,3 +44,8 @@ fabric.SHARED_ATTRIBUTES = [
|
|||
"stroke-linejoin", "stroke-miterlimit",
|
||||
"stroke-opacity", "stroke-width"
|
||||
];
|
||||
|
||||
/**
|
||||
* Pixel per Inch as a default value set to 96. Can be changed for more realistic conversion.
|
||||
*/
|
||||
fabric.DPI = 96;
|
||||
|
|
|
|||
Loading…
Reference in a new issue