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:
Thomas Goyne 2010-06-18 07:14:06 +00:00
parent 961365dfff
commit 3376a2d76a
1 changed files with 3 additions and 0 deletions

View File

@ -113,6 +113,9 @@ void VisualTool<FeatureType>::OnMouseEvent (wxMouseEvent &event) {
parent->Render();
return;
}
else if (event.Entering() && !OPT_GET("Tool/Visual/Always Show")->GetBool()) {
needRender = true;
}
externalChange = false;
leftClick = event.ButtonDown(wxMOUSE_BTN_LEFT);