Browse Source

Fix text refresh glitch

mj-deploy
Standa Lukeš 4 years ago
parent
commit
1f325adeb7
  1. 6
      frontend/src/GraphNode.svelte

6
frontend/src/GraphNode.svelte

@ -42,7 +42,11 @@
ensureTextFits(); ensureTextFits();
}); });
// every time after that // every time after that
$: { task.task.title; ensureTextFits(); } $: {
task.task.title;
if (text_element)
ensureTextFits();
}
// dragging // dragging
let dragging: boolean = false; let dragging: boolean = false;