Skip to content

Commit bce41ac

Browse files
committed
Fixed yet another bug in new mouseover code
1 parent 804a5cf commit bce41ac

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mushview.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6504,8 +6504,9 @@ bool CMUSHView::Mouse_Move_MiniWindow (CMUSHclientDoc* pDoc, CPoint point)
65046504

65056505
// remember original hotspot ID
65066506
sOldMouseOverHotspotInThisWindow = mw->m_sMouseOverHotspot;
6507-
// change to new one for the benefit of WindowInfo (19)
6508-
mw->m_sMouseOverHotspot = sHotspotId;
6507+
// change to new one for the benefit of WindowInfo (19) - if mouse is not down
6508+
if (mw->m_sMouseDownHotspot.empty ())
6509+
mw->m_sMouseOverHotspot = sHotspotId;
65096510
}
65106511

65116512

0 commit comments

Comments
 (0)