News:

Congratulations!
 You've won the News Item Lottery! Your prize? Reading this news item! :)

Minimap panning movement is weird

Started by 1993matias, June 20, 2022, 03:48:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

1993matias

Using the latest nightly, I have found that moving/panning the minimap around has become next to impossible. Right-clicking and dragging the mouse around used to move the map exactly as the mouse moved, but now it seems to move much more randomly or sluggishly. It definitely doesn't change direction of movement when I do.
Is it possible to revert to the old behaviour?

Ranran

Certainly such a change has occurred recently. But the behavior is exactly the same as standard. I wonder if r10565 is a commitment about it.

Quote from: 1993matias on June 20, 2022, 03:48:10 PMIs it possible to revert to the old behaviour?
I don't know if that is possible. I'm afraid to destroy something else.

jamespetts

Unfortunately, I see that this is still a problem. Does anyone have any idea what is going on in the code with this?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Ranran

#3
As far as I tried r10782, I can confirm that the behavior is the same as the standard.
Note that right-clicking does not move in the direction in which the mouse is moved, but determines the direction and speed of movement depending on which direction the pointer is from the position where the mouse is clicked.

However, it seems that this is probably conscious of touch operation, but I think it is indeed a weird behavior.
Even if there is no pointer at the center position, it feels strange that it does not move when the mouse is stopped.

waerth


prissi

That is certainly not intended, since panning with left click works differently. I will have a look.