fix bug with dragging in the status grid view
This commit is contained in:
Vendored
+2
-1
@@ -1225,6 +1225,7 @@
|
||||
});
|
||||
canvas.addEventListener("mousedown", (event) => {
|
||||
const target = event.target;
|
||||
console.log(target);
|
||||
if (!target || !target.classList.contains("allow-drag-move")) return;
|
||||
event.preventDefault();
|
||||
initialZoom = data.value.zoom;
|
||||
@@ -5530,7 +5531,7 @@
|
||||
const view = /* @__PURE__ */ createElement(
|
||||
"div",
|
||||
{
|
||||
class: "status-column gap",
|
||||
class: "status-column gap allow-drag-move",
|
||||
"on:dragover": ViewController.allowDrop,
|
||||
"on:drop": drop,
|
||||
"children:append": [taskViewModels, TaskViewModelToEntry]
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
const VERSION = "2610 Beta 3"
|
||||
const VERSION = "2610 Beta 4.2"
|
||||
|
||||
function processUrl(event) {
|
||||
const url = event.request.url;
|
||||
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
2610 Beta 3
|
||||
2610 Beta 4.2
|
||||
|
||||
@@ -308,6 +308,7 @@ export function implementPinchZoom(canvas: HTMLElement, data: React.State<PinchT
|
||||
|
||||
canvas.addEventListener("mousedown", (event: MouseEvent) => {
|
||||
const target = event.target as HTMLElement|undefined;
|
||||
console.log(target);
|
||||
if (!target || !target.classList.contains("allow-drag-move")) return;
|
||||
event.preventDefault();
|
||||
initialZoom = data.value.zoom;
|
||||
|
||||
@@ -244,7 +244,7 @@ function StatusColumn(
|
||||
|
||||
const view = (
|
||||
<div
|
||||
class="status-column gap"
|
||||
class="status-column gap allow-drag-move"
|
||||
on:dragover={ViewController.allowDrop}
|
||||
on:drop={drop}
|
||||
children:append={[taskViewModels, TaskViewModelToEntry]}
|
||||
|
||||
Reference in New Issue
Block a user