News:

Want to praise Simutrans?
Your feedback is important for us ;D.

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(Hibernating)

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.
(´・ω・`)シミュトランスのアップデート履歴(日本語) (※更新停止中)
bit.ly/3AuKHHP

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(Hibernating)

#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.
(´・ω・`)シミュトランスのアップデート履歴(日本語) (※更新停止中)
bit.ly/3AuKHHP

waerth


prissi

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