Skip to content

Commit

Permalink
Merge pull request #1066 from dbarzin/dev
Browse files Browse the repository at this point in the history
fix migration
  • Loading branch information
dbarzin authored Jan 18, 2025
2 parents 9be221f + cabfe80 commit 0b6ab64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

use App\Permission;
use App\Role;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
Expand Down
2 changes: 2 additions & 0 deletions resources/js/map.edit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ applyButton.addEventListener('click', () => {
// console.log(selectedEdge);
// console.log("update edge "+colorSelect.value + " "+thicknessSelect.value);
graph.batchUpdate(() => {

const style = graph.getCellStyle(selectedEdge);
// console.log(style);
if (selectedEdge.isEdge()) {
Expand All @@ -213,6 +214,7 @@ applyButton.addEventListener('click', () => {
selectedEdge.style.fillColor = colorSelect.value;
selectedEdge.style.strokeWidth = parseInt(thicknessSelect.value, 10);
}

graph.refresh(selectedEdge);
});
}
Expand Down

0 comments on commit 0b6ab64

Please sign in to comment.