2509031705

This commit is contained in:
jasonchenwork 2025-09-03 17:05:33 +08:00
parent d3de8284f9
commit 276d8f0994
2 changed files with 6 additions and 4 deletions

View File

@ -136,7 +136,7 @@ namespace DualScreenDemo
OverlayForm.Instance.topRightTimer.Stop();
break;
case "A281A4":
SafeInvokeAction("A281A4",() => OverlayForm.MainForm.ShowTopRightLabel("↑升2調 "));
SafeInvokeAction("A281A4",() => OverlayForm.MainForm.ShowTopRightLabel("調 "));
OverlayForm.Instance.topRightTimer.Stop();
break;
case "A280A4":
@ -151,7 +151,7 @@ namespace DualScreenDemo
OverlayForm.Instance.topRightTimer.Stop();
break;
case "A27DA4":
SafeInvokeAction("A27EA4",() => OverlayForm.MainForm.ShowTopRightLabel("↓降2調 "));
SafeInvokeAction("A27EA4",() => OverlayForm.MainForm.ShowTopRightLabel("調 "));
OverlayForm.Instance.topRightTimer.Stop();
break;
case "A27CA4":

View File

@ -1034,14 +1034,16 @@ namespace DualScreenDemo
{
videoPlayerForm.SetVolume(videoPlayerForm.GetVolume() + 5);
int vol = videoPlayerForm.GetVolume() - 100;
OverlayForm.MainForm.ShowTopRightLabel(vol.ToString(), null);
OverlayForm.MainForm.ShowTopRightLabel((vol+5).ToString(), null);
OverlayForm.Instance.topRightTimer.Stop();
};
musicDownButton.Click -= (sender, e) => { OverlayForm.MainForm.ShowTopRightLabelTime("音量 ↓", "a2 b4 a4"); };
musicDownButton.Click += (sender, e) =>
{
videoPlayerForm.SetVolume(videoPlayerForm.GetVolume() - 5);
int vol = videoPlayerForm.GetVolume() - 100;
OverlayForm.MainForm.ShowTopRightLabel(vol.ToString(), null);
OverlayForm.MainForm.ShowTopRightLabel((vol-5).ToString(), null);
OverlayForm.Instance.topRightTimer.Stop();
};
}