mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
two shortcuts for 3 seconds forward/backward - thx Cyberyoda1411 :)
Fix #6817
This commit is contained in:
parent
85ce44f2f7
commit
65365b5213
@ -17034,6 +17034,15 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
|
||||
e.SuppressKeyPress = true;
|
||||
}
|
||||
else if (_shortcuts.MainVideo3000MsRight == e.KeyData)
|
||||
{
|
||||
if (mediaPlayer.VideoPlayer != null)
|
||||
{
|
||||
GoBackSeconds(-3);
|
||||
}
|
||||
|
||||
e.SuppressKeyPress = true;
|
||||
}
|
||||
else if (e.Modifiers == (Keys.Control | Keys.Alt | Keys.Shift) && e.KeyCode == Keys.W) // watermark
|
||||
{
|
||||
var enc = GetCurrentEncoding();
|
||||
|
@ -55,13 +55,14 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
public Keys Video500MsRight { get; set; }
|
||||
public Keys Video1000MsLeft { get; set; }
|
||||
public Keys Video1000MsRight { get; set; }
|
||||
public Keys MainVideo3000MsLeft { get; set; }
|
||||
public Keys MainVideo3000MsRight { get; set; }
|
||||
public Keys Video5000MsLeft { get; set; }
|
||||
public Keys Video5000MsRight { get; set; }
|
||||
public Keys VideoXSMsLeft { get; set; }
|
||||
public Keys VideoXSMsRight { get; set; }
|
||||
public Keys VideoXLMsLeft { get; set; }
|
||||
public Keys VideoXLMsRight { get; set; }
|
||||
public Keys MainVideo3000MsLeft { get; set; }
|
||||
public Keys MainVideoGoToStartCurrent { get; set; }
|
||||
public Keys MainVideoToggleStartEndCurrent { get; set; }
|
||||
public Keys MainVideoPlaySelectedLines { get; set; }
|
||||
@ -304,6 +305,7 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
VideoXLMsLeft = UiUtil.GetKeys(Configuration.Settings.Shortcuts.MainVideoXLMsLeft);
|
||||
VideoXLMsRight = UiUtil.GetKeys(Configuration.Settings.Shortcuts.MainVideoXLMsRight);
|
||||
MainVideo3000MsLeft = UiUtil.GetKeys(Configuration.Settings.Shortcuts.MainVideo3000MsLeft);
|
||||
MainVideo3000MsRight= UiUtil.GetKeys(Configuration.Settings.Shortcuts.MainVideo3000MsRight);
|
||||
MainVideoGoToStartCurrent = UiUtil.GetKeys(Configuration.Settings.Shortcuts.MainVideoGoToStartCurrent);
|
||||
MainVideoToggleStartEndCurrent = UiUtil.GetKeys(Configuration.Settings.Shortcuts.MainVideoToggleStartEndCurrent);
|
||||
MainVideoPlaySelectedLines = UiUtil.GetKeys(Configuration.Settings.Shortcuts.MainVideoPlaySelectedLines);
|
||||
|
Loading…
Reference in New Issue
Block a user