mirror of https://github.com/odrling/Aegisub
Fixed minor glitch on visual typesetting
Originally committed to SVN as r1312.
This commit is contained in:
parent
36df5b3de2
commit
ec9f32b670
|
@ -85,6 +85,9 @@ void VideoDisplayVisual::SetMode(int _mode) {
|
|||
|
||||
// Display cursor or not
|
||||
parent->ShowCursor(mode != 0);
|
||||
|
||||
// Refresh parent
|
||||
parent->Render();
|
||||
}
|
||||
|
||||
|
||||
|
@ -278,9 +281,11 @@ void VideoDisplayVisual::DrawOverlay() {
|
|||
glPopMatrix();
|
||||
|
||||
// Draw line to mouse
|
||||
if (x != -1) {
|
||||
SetLineColour(colour[0]);
|
||||
DrawLine(dx,dy,mx,my);
|
||||
}
|
||||
}
|
||||
|
||||
// Rotate XY
|
||||
if (mode == 3) {
|
||||
|
|
Loading…
Reference in New Issue