Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added left spacing for end,enter and escape button to prevent accidental bump #85

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions Projects/Website/Pages/Draw.razor
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,18 @@
<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">
&#9000; Keyboard input is supported if you <strong>click</strong> on the game.
</div>
Expand Down