Skip to content

Commit

Permalink
Fixed bug where miniwindow tooltip would disappear on output scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgammon committed Sep 22, 2012
1 parent 5ac2579 commit 285b5d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mushview.cpp
Expand Up @@ -4519,7 +4519,9 @@ SCROLLINFO ScrollInfo;
RECT r;
int iDeltaY = m_scroll_position.y - pt.y;

RemoveToolTip ();
// only remove tool tip if a miniwindow didn't put it there
if (m_nLastToolTipLine || m_nLastToolTipColumn)
RemoveToolTip ();
GetClientRect (&r);
// if we can do a smooth scroll, well let's do it!
if (abs (iDeltaY) < GetOutputWindowHeight ())
Expand Down

0 comments on commit 285b5d4

Please sign in to comment.