mirror of https://github.com/odrling/Aegisub
Always repaint the entire grid when selection has changed by mouse, fixes #1371. (r6000 release is called off.)
Originally committed to SVN as r5998.
This commit is contained in:
parent
877d9b5894
commit
58f7ee3015
|
@ -682,8 +682,7 @@ void BaseGrid::OnMouseEvent(wxMouseEvent &event) {
|
|||
if (left_up || dclick) {
|
||||
int old = editBox->linen;
|
||||
editBox->SetToLine(row);
|
||||
RefreshRect(wxRect(0,(row+1-yPos)*lineHeight,w,lineHeight+2),false);
|
||||
RefreshRect(wxRect(0,(old+1-yPos)*lineHeight,w,lineHeight+2),false);
|
||||
Refresh(false); // always redraw the entire grid, to ensure colliding lines are shown properly (#1371)
|
||||
}
|
||||
|
||||
if (dclick)
|
||||
|
|
Loading…
Reference in New Issue