@aptre/flex-layout 0.5.12 → 0.5.13

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.
Files changed (2) hide show
  1. package/dist/index.mjs +3 -0
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -6096,6 +6096,9 @@ function OptimizedLayout({ model, renderTab, classNameMapper, onDragStateChange,
6096
6096
  const existing = prevTabs.get(nodeId);
6097
6097
  if (existing) {
6098
6098
  nextTabs.set(nodeId, { ...existing, node });
6099
+ if (existing.node !== node) {
6100
+ changed = true;
6101
+ }
6099
6102
  } else {
6100
6103
  nextTabs.set(nodeId, createTabInfo(node));
6101
6104
  changed = true;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@aptre/flex-layout",
3
3
  "author": "Caplin Systems Ltd",
4
4
  "description": "A multi-tab docking layout manager",
5
- "version": "0.5.12",
5
+ "version": "0.5.13",
6
6
  "license": "ISC",
7
7
  "repository": {
8
8
  "type": "git",