forked from mia/Aegisub
Fixed minor glitch on visual typesetting
Originally committed to SVN as r1312.
This commit is contained in:
parent
36df5b3de2
commit
ec9f32b670
1 changed files with 7 additions and 2 deletions
|
@ -85,6 +85,9 @@ void VideoDisplayVisual::SetMode(int _mode) {
|
||||||
|
|
||||||
// Display cursor or not
|
// Display cursor or not
|
||||||
parent->ShowCursor(mode != 0);
|
parent->ShowCursor(mode != 0);
|
||||||
|
|
||||||
|
// Refresh parent
|
||||||
|
parent->Render();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -278,8 +281,10 @@ void VideoDisplayVisual::DrawOverlay() {
|
||||||
glPopMatrix();
|
glPopMatrix();
|
||||||
|
|
||||||
// Draw line to mouse
|
// Draw line to mouse
|
||||||
SetLineColour(colour[0]);
|
if (x != -1) {
|
||||||
DrawLine(dx,dy,mx,my);
|
SetLineColour(colour[0]);
|
||||||
|
DrawLine(dx,dy,mx,my);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Rotate XY
|
// Rotate XY
|
||||||
|
|
Loading…
Reference in a new issue