mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
Fix ugly extra grid line drawn when the first row is selected
This commit is contained in:
parent
5646c05be7
commit
6e0160d730
@ -354,6 +354,7 @@ void BaseGrid::OnPaint(wxPaintEvent &) {
|
||||
|
||||
// Draw row background color
|
||||
if (color != row_colors.Default) {
|
||||
dc.SetPen(*wxTRANSPARENT_PEN);
|
||||
dc.SetBrush(color);
|
||||
dc.DrawRectangle(column_widths[0], (i + 1) * lineHeight + 1, w, lineHeight);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user