Skip to content

Commit 285b5d4

Browse files
committed
Fixed bug where miniwindow tooltip would disappear on output scroll
1 parent 5ac2579 commit 285b5d4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mushview.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4519,7 +4519,9 @@ SCROLLINFO ScrollInfo;
45194519
RECT r;
45204520
int iDeltaY = m_scroll_position.y - pt.y;
45214521

4522-
RemoveToolTip ();
4522+
// only remove tool tip if a miniwindow didn't put it there
4523+
if (m_nLastToolTipLine || m_nLastToolTipColumn)
4524+
RemoveToolTip ();
45234525
GetClientRect (&r);
45244526
// if we can do a smooth scroll, well let's do it!
45254527
if (abs (iDeltaY) < GetOutputWindowHeight ())

0 commit comments

Comments
 (0)