about summary refs log tree commit diff stats
path: root/src/algorithms/line-drawing
diff options
context:
space:
mode:
authorkarishmarajput <84656423+karishmarajput@users.noreply.github.com>2021-10-31 23:36:35 +0530
committerGitHub <noreply@github.com>2021-10-31 18:06:35 +0000
commit7b0858eca535110a18af0b1659668ead2a6ec277 (patch)
treeefab7059d26441bbf96404f5cd31f56266172795 /src/algorithms/line-drawing
parentb7f1547d026dd8f3a18660f713634bcb605c183f (diff)
downloaddorado-7b0858eca535110a18af0b1659668ead2a6ec277.tar.gz
Make changes in Scaling (#7)
* Fix typo and delete unused variable

* Add : after solution

* Make changes in Scaling
Diffstat (limited to 'src/algorithms/line-drawing')
-rw-r--r--src/algorithms/line-drawing/Bresenham.svelte2
-rw-r--r--src/algorithms/line-drawing/DDA.svelte2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/algorithms/line-drawing/Bresenham.svelte b/src/algorithms/line-drawing/Bresenham.svelte
index c43f87f..3cf6ee9 100644
--- a/src/algorithms/line-drawing/Bresenham.svelte
+++ b/src/algorithms/line-drawing/Bresenham.svelte
@@ -78,7 +78,7 @@
 </form>
 
 <hr>
-<h3>Solution</h3>
+<h3>Solution:</h3>
 
 {#if invalidInput === true}
   <p class="note">
diff --git a/src/algorithms/line-drawing/DDA.svelte b/src/algorithms/line-drawing/DDA.svelte
index 379e965..6c7a4b4 100644
--- a/src/algorithms/line-drawing/DDA.svelte
+++ b/src/algorithms/line-drawing/DDA.svelte
@@ -68,7 +68,7 @@
 </form>
 
 <hr>
-<h3>Solution</h3>
+<h3>Solution:</h3>
 
 <label for="dx">dx = <code>|x1 - x0|</code>: </label>
 <input type="text" id="dx" name="dx" value={dx} disabled><br>