Closed Nyun0 closed 5 years ago
So in testing this, the tooltip does move with the room now, but the flicker is kinda annoying. But what's worse is the map itself is not panned smoothly. The tooltip will move, then the map kinda "jumps" in behind it. I'd almost rather have it the way it is unless we can clean this up some.
The other way (which I tested first) is to hide the tooltip upon moving an element or panning. The results are really nice, and I was hesitating to go with it as a solution to be honest.
I will create a separate merge request with the second solution - I think it will be better to hide the tooltip instead of redrawing it every frame.
@Nyun0 Sorry for the delay on looking at the latest....I will do so hopefully later today.
This is my solution proposition for #459
The tooltip is being re-drawn when it is shown upon panning and moving the element. This causes a rather noticeable tooltip flicker, especially when snap-to-grid is turned off or when panning.
Known "issues":