mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-23 03:33:18 +01:00
Waveform - focused selection is now 'selected-color', solid border
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@1613 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
79ed00571f
commit
92041d895e
@ -508,6 +508,13 @@ namespace Nikse.SubtitleEdit.Controls
|
||||
textBrush.Dispose();
|
||||
textFont.Dispose();
|
||||
}
|
||||
if (Focused)
|
||||
{
|
||||
using (Pen p = new Pen(SelectedColor))
|
||||
{
|
||||
e.Graphics.DrawRectangle(p, new Rectangle(0, 0, Width - 1, Height - 1));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void DrawBackground(Graphics graphics)
|
||||
@ -524,14 +531,6 @@ namespace Nikse.SubtitleEdit.Controls
|
||||
}
|
||||
}
|
||||
}
|
||||
if (Focused)
|
||||
{
|
||||
using (Pen p = new Pen(Color.Gray))
|
||||
{
|
||||
p.DashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
graphics.DrawRectangle(p, new Rectangle(0, 0, Width - 1, Height - 1));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void DrawTimeLine(double startPositionSeconds, PaintEventArgs e, int imageHeight)
|
||||
|
Loading…
Reference in New Issue
Block a user