Skip to content

Commit 756257e

Browse files
committed
Avoid unnecessary source code window RECT redrawing during scrolling.
1 parent 80e91c4 commit 756257e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CormanLispIDE/src/CormanLisp.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -2212,7 +2212,7 @@ BOOL CLispView::OnScroll(UINT nScrollCode, UINT nPos, BOOL bDoScroll)
22122212
return ret;
22132213
}
22142214

2215-
// we need this hacky code to avoid ANNOYIN rendering issues with mouse cue (tooltip) during scrolling
2215+
// we need this hacky code to avoid ANNOYING rendering issues with mouse cue (tooltip) during scrolling
22162216
LRESULT CLispView::WindowProc(UINT message, WPARAM wParam, LPARAM lParam)
22172217
{
22182218
switch (message)
@@ -2227,10 +2227,10 @@ LRESULT CLispView::WindowProc(UINT message, WPARAM wParam, LPARAM lParam)
22272227
last_scroll_event_timestamp = GetTickCount();
22282228
if (m_mouseCueDisplayed && !mouseCueDisabled())
22292229
{
2230-
RECT rect;
2230+
//RECT rect;
22312231
mouseCueOff();
2232-
GetClientRect(&rect);
2233-
InvalidateRect(&rect);
2232+
//GetClientRect(&rect);
2233+
//InvalidateRect(&rect);
22342234
}
22352235
}
22362236
break;

0 commit comments

Comments
 (0)