-
Notifications
You must be signed in to change notification settings - Fork 981
Description
Describe the bug
When the docked ScottPlot.FormsPlot is maximized together with the parent Form's window, strange angled lines appear at top right during middle mouse button pushed down. Same artifact happens when we use the right mouse button for zoom.
To Reproduce
VS Community 2019, Version 16.5.5.
ScottPlot 4.0.32 (previous version also has the same bug)
Steps to reproduce:
Create a new Winform project.
Drop a ScottPlot.FormsPlot user control into the Form, and set it as "Dock - Fill".
Run the project.
Maximize the Form window.
Start to use the mouse buttons for the different zoom options.
Bug appears visible.
Another info, if you set the grid line width to value 2 or higher (i did it in the Form's constructor), the bug seems to disappear:
formsPlot1.plt.Grid(lineWidth: 2);
Screenshots
I set the Grid color to red to make the bug more visible!
