Fix text refresh glitch

This commit is contained in:
Standa Lukeš 2020-10-01 18:40:24 +00:00
parent be09522222
commit 1f325adeb7

View file

@ -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;