myrlin-workbook 0.9.34 → 0.9.35
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/package.json +1 -1
- package/src/web/public/index.html +14 -2
package/package.json
CHANGED
|
@@ -1742,8 +1742,20 @@
|
|
|
1742
1742
|
document.addEventListener('touchcancel', stop, { passive: true });
|
|
1743
1743
|
})();
|
|
1744
1744
|
</script>
|
|
1745
|
-
<!-- Polyfills HTML5 drag-and-drop on touch devices (translates touch -> drag events)
|
|
1746
|
-
|
|
1745
|
+
<!-- Polyfills HTML5 drag-and-drop on touch devices (translates touch -> drag events).
|
|
1746
|
+
isPressHoldMode requires a 350ms hold before drag arms, so normal swipe
|
|
1747
|
+
gestures on the sidebar and tab strip pass through to native scroll
|
|
1748
|
+
instead of being intercepted as drag-starts on draggable items inside. -->
|
|
1749
|
+
<script type="module">
|
|
1750
|
+
import { enableDragDropTouch } from './vendor/drag-drop-touch.esm.min.js';
|
|
1751
|
+
enableDragDropTouch(document, document, {
|
|
1752
|
+
forceListen: true,
|
|
1753
|
+
isPressHoldMode: true,
|
|
1754
|
+
pressHoldDelayMS: 350,
|
|
1755
|
+
pressHoldMargin: 25,
|
|
1756
|
+
pressHoldThresholdPixels: 0,
|
|
1757
|
+
});
|
|
1758
|
+
</script>
|
|
1747
1759
|
<script src="vendor/qrcode.min.js"></script>
|
|
1748
1760
|
<script src="vendor/xterm/xterm.min.js"></script>
|
|
1749
1761
|
<script src="vendor/xterm-addon-fit/xterm-addon-fit.min.js"></script>
|