@wcardinal/wcardinal-ui 0.327.0 → 0.329.0

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.
@@ -1,5 +1,5 @@
1
1
  /*
2
- Winter Cardinal UI v0.327.0
2
+ Winter Cardinal UI v0.329.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -3684,7 +3684,8 @@
3684
3684
  return 0.5;
3685
3685
  };
3686
3686
  DThemeWhiteDiagramCanvasEditor.prototype.getSnapGridMajorWidth = function () {
3687
- return 1.25;
3687
+ var _a;
3688
+ return Math.max(1, 2 / ((_a = window.devicePixelRatio) !== null && _a !== void 0 ? _a : 1));
3688
3689
  };
3689
3690
  DThemeWhiteDiagramCanvasEditor.prototype.getSnapGridMajorStyle = function () {
3690
3691
  return EShapeStrokeStyle.DASHED | EShapeStrokeStyle.NON_SCALING;