Skip to content

Commit

Permalink
Updated hotkeys
Browse files Browse the repository at this point in the history
  • Loading branch information
ThorConzales authored and ThorConzales committed Sep 6, 2017
1 parent da72e9b commit 0132026
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@
</md-table> </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: 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;"> <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 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)="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;">(CTRL + 3), </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;">(CTRL + 4)</span> <span class="clickable" (click)="calculateBalancedTeamsBasedOnWinRatio()">Win Ratio </span><span style="font-size: 12px;">(SHIFT + ALT + 4)</span>
</div> </div>
<div *ngIf="lobbyStarted" style="font-size: 18px; margin-top: 17px;"> <div *ngIf="lobbyStarted" style="font-size: 18px; margin-top: 17px;">
<table style="margin-left: auto; margin-right: auto;"> <table style="margin-left: auto; margin-right: auto;">
Expand Down
8 changes: 4 additions & 4 deletions Overlay/MainWindow.xaml.cs
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ public MainWindow() {
InitializeComponent(); InitializeComponent();
StartVisibilityTimer(); StartVisibilityTimer();
StartProcessTimer(); StartProcessTimer();
_hotKeyCopyPlayerStats = new HotKey(Key.D1, KeyModifier.Ctrl, OnHotKeyCopyPlayerStats); _hotKeyCopyPlayerStats = new HotKey(Key.D1, KeyModifier.Ctrl | KeyModifier.Alt, OnHotKeyCopyPlayerStats);
_hotKeyCalculateTeamsRank = new HotKey(Key.D2, KeyModifier.Ctrl, OnHotKeyCalculateTeamsRank); _hotKeyCalculateTeamsRank = new HotKey(Key.D2, KeyModifier.Ctrl | KeyModifier.Alt, OnHotKeyCalculateTeamsRank);
_hotKeyCalculateTeamsTotalGames = new HotKey(Key.D3, KeyModifier.Ctrl, OnHotKeyCalculateTeamsTotalGames); _hotKeyCalculateTeamsTotalGames = new HotKey(Key.D3, KeyModifier.Ctrl | KeyModifier.Alt, OnHotKeyCalculateTeamsTotalGames);
_hotKeyCalculateTeamsWinRatio = new HotKey(Key.D4, KeyModifier.Ctrl, OnHotKeyCalculateTeamsWinRatio); _hotKeyCalculateTeamsWinRatio = new HotKey(Key.D4, KeyModifier.Ctrl | KeyModifier.Alt, OnHotKeyCalculateTeamsWinRatio);
} }


public void RegisterHotKeyHooks(Action copyPlayerStats, Action calculateTeamsRank, Action calculateTeamsTotalGames, Action calculateTeamsWinRatio) { public void RegisterHotKeyHooks(Action copyPlayerStats, Action calculateTeamsRank, Action calculateTeamsTotalGames, Action calculateTeamsWinRatio) {
Expand Down

0 comments on commit 0132026

Please sign in to comment.