Change label of TAStudio's pause button

This commit is contained in:
YoshiRulz 2024-06-02 08:49:42 +10:00
parent 7cca0ea75f
commit a123776fe6
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
2 changed files with 6 additions and 1 deletions
src/BizHawk.Client.EmuHawk/tools/TAStudio

View File

@ -137,7 +137,7 @@
this.PauseButton.Name = "PauseButton"; this.PauseButton.Name = "PauseButton";
this.PauseButton.Size = new System.Drawing.Size(38, 23); this.PauseButton.Size = new System.Drawing.Size(38, 23);
this.PauseButton.TabIndex = 2; this.PauseButton.TabIndex = 2;
this.PauseButton.Text = "| |"; this.PauseButton.Text = "";
this.toolTip1.SetToolTip(this.PauseButton, "Middle Mouse Button"); this.toolTip1.SetToolTip(this.PauseButton, "Middle Mouse Button");
this.PauseButton.UseVisualStyleBackColor = true; this.PauseButton.UseVisualStyleBackColor = true;
this.PauseButton.Click += new System.EventHandler(this.PauseButton_Click); this.PauseButton.Click += new System.EventHandler(this.PauseButton_Click);

View File

@ -70,6 +70,11 @@ namespace BizHawk.Client.EmuHawk
{ {
return; return;
} }
if (OSTailoredCode.IsUnixHost)
{
// glyph missing from default Mono WinForms font
PauseButton.Text = "> ||";
}
TurboSeekCheckbox.Checked = Tastudio.Config?.TurboSeek ?? false; TurboSeekCheckbox.Checked = Tastudio.Config?.TurboSeek ?? false;
AutoRestoreCheckbox.Checked = Tastudio.Settings.AutoRestoreLastPosition; AutoRestoreCheckbox.Checked = Tastudio.Settings.AutoRestoreLastPosition;