mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Merge pull request #5051 from OmrSi/bridge-duration-list-view-green-batch
Fix list view green color for bridge duration in dark theme
This commit is contained in:
commit
7aedc79f5e
@ -23,6 +23,8 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
set => numericUpDownMinMsBetweenLines.Value = value;
|
||||
}
|
||||
|
||||
private static readonly Color _listViewGreen = Configuration.Settings.General.UseDarkTheme ? Color.Green : Color.LightGreen;
|
||||
|
||||
public bool PreviousSubtitleTakesAllTime => radioButtonProlongEndTime.Checked;
|
||||
|
||||
public DurationsBridgeGaps(Subtitle subtitle)
|
||||
@ -179,7 +181,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
|
||||
foreach (var index in fixedIndexes)
|
||||
{
|
||||
SubtitleListview1.SetBackgroundColor(index, Color.LightGreen);
|
||||
SubtitleListview1.SetBackgroundColor(index, _listViewGreen);
|
||||
}
|
||||
|
||||
SubtitleListview1.EndUpdate();
|
||||
|
Loading…
Reference in New Issue
Block a user