@postermywall/fabricjs-2 6.0.0-pmw-4 → 6.0.0-pmw-5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -136,7 +136,7 @@
136
136
  * @type Boolean
137
137
  * @default
138
138
  */
139
- _defineProperty(this, "disableGroupSelector", void 0);
139
+ _defineProperty(this, "disableGroupSelector", false);
140
140
  /**
141
141
  * *PMW* added variable to mark when canvas is being two-finger panned.
142
142
  * @type Boolean
@@ -440,7 +440,7 @@
440
440
  }
441
441
  const cache = new Cache();
442
442
 
443
- var version = "6.0.0-pmw-4";
443
+ var version = "6.0.0-pmw-5";
444
444
 
445
445
  // use this syntax so babel plugin see this import here
446
446
  const VERSION = version;
@@ -11376,6 +11376,12 @@
11376
11376
  const groupDefaultValues = {
11377
11377
  strokeWidth: 0,
11378
11378
  subTargetCheck: false,
11379
+ delegateProperties: true,
11380
+ caterCacheForTextChildren: false,
11381
+ leanBackground: false,
11382
+ leanBackgroundOffset: 0,
11383
+ selected: false,
11384
+ useSelectedFlag: false,
11379
11385
  interactive: false
11380
11386
  };
11381
11387
 
@@ -11406,11 +11412,6 @@
11406
11412
  * @default
11407
11413
  * @type boolean
11408
11414
  */
11409
- /**
11410
- * *PMW property added*
11411
- * To delete some properties or not
11412
- */
11413
- _defineProperty(this, "delegateProperties", true);
11414
11415
  /**
11415
11416
  * *PMW*
11416
11417
  * Properties that are delegated to group objects when reading/writing
@@ -11429,33 +11430,6 @@
11429
11430
  textDecoration: true,
11430
11431
  textAlign: true
11431
11432
  });
11432
- /**
11433
- * *PMW property added*
11434
- * Whether to cater to the text children objects for caching.
11435
- */
11436
- _defineProperty(this, "caterCacheForTextChildren", false);
11437
- /**
11438
- * *PMW property added*
11439
- * Whether to render a rectangle background or a tilted background
11440
- */
11441
- _defineProperty(this, "leanBackground", false);
11442
- /**
11443
- * *PMW property added*
11444
- * Leanness of background
11445
- */
11446
- _defineProperty(this, "leanBackgroundOffset", 0);
11447
- /**
11448
- * *PMW property added*
11449
- * Whether the object is currently selected.
11450
- * This is being used in GraphicItemSlideshowMediator to handle text editing.
11451
- * The editing mode is entered on single click when the item is selected. So we use this flag to determine if the item is selected.
11452
- */
11453
- _defineProperty(this, "selected", false);
11454
- /**
11455
- * *PMW property added*
11456
- * Whether the PMW added selected flag should be used.
11457
- */
11458
- _defineProperty(this, "useSelectedFlag", false);
11459
11433
  /**
11460
11434
  * Used internally to optimize performance
11461
11435
  * Once an object is selected, instance is rendered without the selected object.