Fix viewport hovering when hover mode is set to right-click
This commit is contained in:
@@ -471,7 +471,7 @@ struct MainWindow : Window
|
||||
|
||||
virtual void OnMouseOver(Point pt, int widget)
|
||||
{
|
||||
if (pt.x != -1 && _game_mode != GM_MENU && _mouse_hovering) {
|
||||
if (pt.x != -1 && _game_mode != GM_MENU && (_mouse_hovering || _settings_client.gui.hover_delay_ms == 0)) {
|
||||
/* Show tooltip with last month production or town name */
|
||||
const Point p = GetTileBelowCursor();
|
||||
const TileIndex tile = TileVirtXY(p.x, p.y);
|
||||
|
Reference in New Issue
Block a user