From 484ae4f0ebc878542c9101823645e7b1f5c7da28 Mon Sep 17 00:00:00 2001 From: Andinus Date: Sun, 10 Oct 2021 19:32:47 +0530 Subject: line-drawing/DDA: Alert when plotly is not ready --- src/algorithms/line-drawing/DDA.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/algorithms/line-drawing/DDA.svelte b/src/algorithms/line-drawing/DDA.svelte index aa7ac08..bee2c16 100644 --- a/src/algorithms/line-drawing/DDA.svelte +++ b/src/algorithms/line-drawing/DDA.svelte @@ -119,13 +119,14 @@ +

Graph

{#if plotlyReady === false} + {alert("Cannot plot graph: Plotly is not ready. Try again.")}

Cannot plot graph: Plotly is not ready.

{/if} {/if} -