Permalink
Browse files

Updated hotkeys

  • Loading branch information...
ThorConzales ThorConzales
ThorConzales authored and ThorConzales committed Sep 6, 2017
1 parent da72e9b commit 01320267197994e8d1f802edd43541a384e90800
@@ -78,11 +78,11 @@
</md-table>
<div *ngIf="!lobbyStarted" style="text-align: center; font-size: 18px; margin-top: 20px;"><span class="clickable" (click)="stopSession()">Stop the session</span> when you are no longer going to play. <span class="clickable" (click)="startLobby()">Start the lobby manually</span> when the game has started.</div>
<div *ngIf="!lobbyStarted" style="text-align: center; font-size: 14px; margin-top: 5px;">
<span class="clickable" (click)="copyPlayerStats()">Copy player stats </span><span style="font-size: 12px;">(CTRL + 1)</span>
<span class="clickable" (click)="copyPlayerStats()">Copy player stats </span><span style="font-size: 12px;">(SHIFT + ALT + 1)</span>
<span style="margin-left: 20px;">Calculate balanced teams based on player:</span>
<span class="clickable" (click)="calculateBalancedTeamsBasedOnRank()">Rank </span><span style="font-size: 12px;">(CTRL + 2), </span>
<span class="clickable" (click)="calculateBalancedTeamsBasedOnTotalGames()">Total Games </span><span style="font-size: 12px;">(CTRL + 3), </span>
<span class="clickable" (click)="calculateBalancedTeamsBasedOnWinRatio()">Win Ratio </span><span style="font-size: 12px;">(CTRL + 4)</span>
<span class="clickable" (click)="calculateBalancedTeamsBasedOnRank()">Rank </span><span style="font-size: 12px;">(SHIFT + ALT + 2), </span>
<span class="clickable" (click)="calculateBalancedTeamsBasedOnTotalGames()">Total Games </span><span style="font-size: 12px;">(SHIFT + ATL + 3), </span>
<span class="clickable" (click)="calculateBalancedTeamsBasedOnWinRatio()">Win Ratio </span><span style="font-size: 12px;">(SHIFT + ALT + 4)</span>
</div>
<div *ngIf="lobbyStarted" style="font-size: 18px; margin-top: 17px;">
<table style="margin-left: auto; margin-right: auto;">
@@ -49,10 +49,10 @@ public partial class MainWindow : Window {
InitializeComponent();
StartVisibilityTimer();
StartProcessTimer();
_hotKeyCopyPlayerStats = new HotKey(Key.D1, KeyModifier.Ctrl, OnHotKeyCopyPlayerStats);
_hotKeyCalculateTeamsRank = new HotKey(Key.D2, KeyModifier.Ctrl, OnHotKeyCalculateTeamsRank);
_hotKeyCalculateTeamsTotalGames = new HotKey(Key.D3, KeyModifier.Ctrl, OnHotKeyCalculateTeamsTotalGames);
_hotKeyCalculateTeamsWinRatio = new HotKey(Key.D4, KeyModifier.Ctrl, OnHotKeyCalculateTeamsWinRatio);
_hotKeyCopyPlayerStats = new HotKey(Key.D1, KeyModifier.Ctrl | KeyModifier.Alt, OnHotKeyCopyPlayerStats);
_hotKeyCalculateTeamsRank = new HotKey(Key.D2, KeyModifier.Ctrl | KeyModifier.Alt, OnHotKeyCalculateTeamsRank);
_hotKeyCalculateTeamsTotalGames = new HotKey(Key.D3, KeyModifier.Ctrl | KeyModifier.Alt, OnHotKeyCalculateTeamsTotalGames);
_hotKeyCalculateTeamsWinRatio = new HotKey(Key.D4, KeyModifier.Ctrl | KeyModifier.Alt, OnHotKeyCalculateTeamsWinRatio);
}
public void RegisterHotKeyHooks(Action copyPlayerStats, Action calculateTeamsRank, Action calculateTeamsTotalGames, Action calculateTeamsWinRatio) {

0 comments on commit 0132026

Please sign in to comment.