customized-fabric 1.6.5 → 1.6.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -54,6 +54,7 @@ const TextInputClass = fabric_1.fabric.util.createClass(fabric_1.fabric.Group, {
54
54
  });
55
55
  if (options?.isOriginal) {
56
56
  this.rectObject?.set({ strokeWidth: 0 });
57
+ this.textObject?.set({ fontFamily: text?.fontFamily });
57
58
  }
58
59
  else {
59
60
  if (options?.hideStroke) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "customized-fabric",
3
- "version": "1.6.5",
3
+ "version": "1.6.6",
4
4
  "description": "Customized fabric",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",