mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Improve preview background for dark theme
This commit is contained in:
parent
d9845b5dc4
commit
6db272c437
@ -2116,7 +2116,7 @@ can edit in same subtitle file (collaboration)</Information>
|
||||
<HtmlColor>Html color</HtmlColor>
|
||||
<AssaColor>ASSA color</AssaColor>
|
||||
<DarkTheme>Dark theme</DarkTheme>
|
||||
<DarkThemeEnabled>Dark theme enabled</DarkThemeEnabled>
|
||||
<DarkThemeEnabled>Use dark theme</DarkThemeEnabled>
|
||||
<UpdateShortcut>Update</UpdateShortcut>
|
||||
<FoucsSetVideoPosition>Focus set video position</FoucsSetVideoPosition>
|
||||
<ToggleDockUndockOfVideoControls>Toggle dock/undock of video controls</ToggleDockUndockOfVideoControls>
|
||||
|
@ -113,6 +113,7 @@ namespace Nikse.SubtitleEdit.Forms.Options
|
||||
labelStatus.Text = string.Empty;
|
||||
_rulesProfiles = new List<RulesProfile>(Configuration.Settings.General.Profiles);
|
||||
var gs = Configuration.Settings.General;
|
||||
_backgroundImageDark = Configuration.Settings.General.UseDarkTheme;
|
||||
|
||||
checkBoxToolbarNew.Checked = gs.ShowToolbarNew;
|
||||
checkBoxToolbarOpen.Checked = gs.ShowToolbarOpen;
|
||||
|
@ -47,6 +47,7 @@ namespace Nikse.SubtitleEdit.Forms.Styles
|
||||
_header = subtitle.Header;
|
||||
_format = format;
|
||||
_isSubStationAlpha = _format.Name == SubStationAlpha.NameOfFormat;
|
||||
_backgroundImageDark = Configuration.Settings.General.UseDarkTheme;
|
||||
|
||||
if (_header != null && _header.Contains("http://www.w3.org/ns/ttml"))
|
||||
{
|
||||
|
@ -30,6 +30,7 @@ namespace Nikse.SubtitleEdit.Forms.Styles
|
||||
comboBoxCollision.SelectedIndex = 0;
|
||||
_header = subtitle.Header;
|
||||
_isSubStationAlpha = format.Name == SubStationAlpha.NameOfFormat;
|
||||
_backgroundImageDark = Configuration.Settings.General.UseDarkTheme;
|
||||
if (_header == null || !_header.Contains("style:", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
ResetHeader();
|
||||
|
Loading…
Reference in New Issue
Block a user