EasyGIS.NET
EasyGIS.NET copied to clipboard
Mouse Up Event Problem When drawing Background Image - Fast Mouse Move
It appears there is something not right when MouseUp Event is processed while drawing Background Image. It is difficult to describe, however, this is what is happening.
After MouseDown is pressed, move the mouse fast in any direction. While the mouse is moving fast, release the button.
Example 6 is used as a showcase. A Background Image is moved a step further after the mouse is released. The step depends on the mouse speed when the button is released.
This does not happen if the shape file is loaded without a Background image.
Please look at the video created. It is quite impossible to catch the issue using a screen recorder. Therefore mobile phone was used. https://user-images.githubusercontent.com/26789352/232347448-170e4922-1fcd-4bc8-afb6-bfe4c86e4f32.mp4 Might not be obvious what I am talking about. Several replays are needed to spot the issue. The video is short because of the 10 Mb Upload Limit. However, the example shows what needs to be done to replicate the issue. The issue is also shown if only the Background image is loaded.