Browse Source
of windisp.c. Upon left mouse button up the plot recangle is invalidated, and a WM_PAINT message is generated (same on line 614 for right mouse button up). If not re-pained, artifacts may be left on the canvas after collecting coordinate data. Shifting the command InvalidateRect to a place where it becomes active only after the mouse has been moved, does the trick. Simple clicking (right or left) will not cause a re-paint any more.pre-master-46
1 changed files with 5 additions and 2 deletions
Loading…
Reference in new issue