rita-workspace 0.5.26 → 0.5.27

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
@@ -1749,6 +1749,12 @@ var DrawingsDialog = ({
1749
1749
  if (editingId || confirmDeleteId || movingDrawingId) return;
1750
1750
  setSelectedId(drawing.id);
1751
1751
  },
1752
+ onDoubleClick: (e) => {
1753
+ e.stopPropagation();
1754
+ if (editingId || confirmDeleteId || movingDrawingId) return;
1755
+ if (activeDrawing?.id === drawing.id) return;
1756
+ handleSelect(drawing);
1757
+ },
1752
1758
  style: {
1753
1759
  padding: "10px 12px",
1754
1760
  display: "flex",
package/dist/index.mjs CHANGED
@@ -1678,6 +1678,12 @@ var DrawingsDialog = ({
1678
1678
  if (editingId || confirmDeleteId || movingDrawingId) return;
1679
1679
  setSelectedId(drawing.id);
1680
1680
  },
1681
+ onDoubleClick: (e) => {
1682
+ e.stopPropagation();
1683
+ if (editingId || confirmDeleteId || movingDrawingId) return;
1684
+ if (activeDrawing?.id === drawing.id) return;
1685
+ handleSelect(drawing);
1686
+ },
1681
1687
  style: {
1682
1688
  padding: "10px 12px",
1683
1689
  display: "flex",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rita-workspace",
3
- "version": "0.5.26",
3
+ "version": "0.5.27",
4
4
  "description": "Multi-drawing workspace feature for Rita (Excalidraw fork)",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",