Closed IgorA100 closed 1 month ago
If this PR is approved, then perhaps it is worth reconsidering the algorithm for enlarging the image by clicking the mouse? Make it more intuitive? Those. to enlarge exactly the visual area of the image on which the mouse was clicked, and not the virtual area that is comparable to the click location at a scale of 1:1? I don't know if you'll understand my point? :
I now have another thought about changing the behavior algorithm. I can make an algorithm like this: If the left mouse button is pressed and released without displacement (displacement less than XX pixels (for example 30) - increase the video frame. If the left mouse button is pressed and the mouse moves by more than XX pixels (for example, 30), move the video frame. How do you like this idea?
@connortechnology If you like this PR, I will do the same for viewing the recorded events.
Now it is possible to move an enlarged video frame by moving the mouse and not just by clicking while holding down "Shift" This function works by simultaneously pressing “Ctrl” + “Shift”. Those. you need to hold down “Ctrl” + “Shift”, then by pressing the left mouse button “capture” the video frame and moving the mouse will move the video frame. I found this very convenient, especially when it is necessary to move a greatly enlarged video frame a short distance. All the previous functionality when holding “Ctrl” (decrease) or “Shift” (positioning) or simply “click” (increase) remained unchanged.