about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2021-10-10 19:32:47 +0530
committerAndinus <andinus@nand.sh>2021-10-10 19:32:47 +0530
commit484ae4f0ebc878542c9101823645e7b1f5c7da28 (patch)
tree16be46df7122b3e0c53ae054efdda76cf4b93338
parent764a46c060514008746ecc512155efafbd6c2f7e (diff)
downloaddorado-484ae4f0ebc878542c9101823645e7b1f5c7da28.tar.gz
line-drawing/DDA: Alert when plotly is not ready
-rw-r--r--src/algorithms/line-drawing/DDA.svelte3
1 files changed, 2 insertions, 1 deletions
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 @@
     </table>
   </details>
 
+  <h3>Graph</h3>
   {#if plotlyReady === false}
+    {alert("Cannot plot graph: Plotly is not ready. Try again.")}
     <p class="note">
       Cannot plot graph: Plotly is not ready.
     </p>
   {/if}
 {/if}
-
 <div id="algoChart"></div>
 
 <style>