mirror of https://github.com/odrling/Aegisub
Always repaint the video display when the mouse enters it if visual tools are only shown on mouseover
Originally committed to SVN as r4545.
This commit is contained in:
parent
961365dfff
commit
3376a2d76a
|
@ -113,6 +113,9 @@ void VisualTool<FeatureType>::OnMouseEvent (wxMouseEvent &event) {
|
||||||
parent->Render();
|
parent->Render();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
else if (event.Entering() && !OPT_GET("Tool/Visual/Always Show")->GetBool()) {
|
||||||
|
needRender = true;
|
||||||
|
}
|
||||||
externalChange = false;
|
externalChange = false;
|
||||||
|
|
||||||
leftClick = event.ButtonDown(wxMOUSE_BTN_LEFT);
|
leftClick = event.ButtonDown(wxMOUSE_BTN_LEFT);
|
||||||
|
|
Loading…
Reference in New Issue