devexpress-diagram 2.1.75 → 2.1.76

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,7 +1,7 @@
1
1
  /*!
2
2
  * DevExpress Diagram (dx-diagram)
3
- * Version: 2.1.75
4
- * Build date: Tue May 02 2023
3
+ * Version: 2.1.76
4
+ * Build date: Wed Jul 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  * Read about DevExpress licensing here: https://www.devexpress.com/Support/EULAs
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * DevExpress Diagram (dx-diagram)
3
- * Version: 2.1.75
4
- * Build date: Tue May 02 2023
3
+ * Version: 2.1.76
4
+ * Build date: Wed Jul 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  * Read about DevExpress licensing here: https://www.devexpress.com/Support/EULAs
@@ -37297,7 +37297,7 @@ var DataSource = (function () {
37297
37297
  history.beginTransaction();
37298
37298
  ModelUtils_1.ModelUtils.deleteAllItems(history, model, selection);
37299
37299
  model.initializeKeyCounter();
37300
- var DEFAULT_STEP = 2000;
37300
+ var DEFAULT_STEP = snapToGrid ? Math.max(1, Math.floor(2000 / gridSize)) * gridSize : 2000;
37301
37301
  var rowIndex = 0;
37302
37302
  var colIndex = 0;
37303
37303
  var externalToInnerMap = {};
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * DevExpress Diagram (dx-diagram.min)
3
- * Version: 2.1.75
4
- * Build date: Tue May 02 2023
3
+ * Version: 2.1.76
4
+ * Build date: Wed Jul 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  * Read about DevExpress licensing here: https://www.devexpress.com/Support/EULAs