Skip to content

Commit

Permalink
added left spacing for end,enter and escape button to prevent acciden…
Browse files Browse the repository at this point in the history
…tal bump
  • Loading branch information
trba1810 committed Aug 10, 2023
1 parent aef63a5 commit 0a7ae44
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Projects/Website/Pages/Draw.razor
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,15 @@
<pre class="console">
<code>@Console.State</code>
</pre>
</div>
<div>
</div>
<div>
<button class="btn btn-primary" @onclick="() => Console.EnqueueInput(ConsoleKey.UpArrow) ">↑</button>
<button class="btn btn-primary" @onclick="() => Console.EnqueueInput(ConsoleKey.DownArrow) ">↓</button>
<button class="btn btn-primary" @onclick="() => Console.EnqueueInput(ConsoleKey.LeftArrow) ">←</button>
<button class="btn btn-primary" @onclick="() => Console.EnqueueInput(ConsoleKey.RightArrow)">→</button>
<button class="btn btn-primary" @onclick="() => Console.EnqueueInput(ConsoleKey.End) ">end</button>
<button class="btn btn-primary" @onclick="() => Console.EnqueueInput(ConsoleKey.Enter) ">enter</button>
<button class="btn btn-primary" @onclick="() => Console.EnqueueInput(ConsoleKey.Escape) ">escape</button>
</div>
<button class="btn btn-primary ms-5" @onclick="() => Console.EnqueueInput(ConsoleKey.End) ">end</button>
<button class="btn btn-primary ms-5" @onclick="() => Console.EnqueueInput(ConsoleKey.Enter) ">enter</button>
<button class="btn btn-primary ms-5" @onclick="() => Console.EnqueueInput(ConsoleKey.Escape) ">escape</button>
</div>

<div class="alert alert-secondary" role="alert">
Expand Down

0 comments on commit 0a7ae44

Please sign in to comment.