From cabfe807a78db33c80a6453a8498b9c9e7791ca2 Mon Sep 17 00:00:00 2001 From: didier Date: Sat, 18 Jan 2025 20:53:52 +0100 Subject: [PATCH] fix migration --- database/migrations/2025_01_17_133444_add_table_containers.php | 1 + resources/js/map.edit.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/database/migrations/2025_01_17_133444_add_table_containers.php b/database/migrations/2025_01_17_133444_add_table_containers.php index 675a1238..72de75f2 100644 --- a/database/migrations/2025_01_17_133444_add_table_containers.php +++ b/database/migrations/2025_01_17_133444_add_table_containers.php @@ -1,6 +1,7 @@ { // console.log(selectedEdge); // console.log("update edge "+colorSelect.value + " "+thicknessSelect.value); graph.batchUpdate(() => { + const style = graph.getCellStyle(selectedEdge); // console.log(style); if (selectedEdge.isEdge()) { @@ -213,6 +214,7 @@ applyButton.addEventListener('click', () => { selectedEdge.style.fillColor = colorSelect.value; selectedEdge.style.strokeWidth = parseInt(thicknessSelect.value, 10); } + graph.refresh(selectedEdge); }); }