Fix station ratings tooltip in right click mode

See: #298
This commit is contained in:
Jonathan G Rennison
2021-07-12 18:43:10 +01:00
parent f9f83df92d
commit 2b4741b97d

View File

@@ -2950,7 +2950,7 @@ public:
void OnMouseLoop() override
{
if (!_cursor.in_window || !_mouse_hovering) {
if (!_cursor.in_window || !(_settings_client.gui.hover_delay_ms == 0 ? _right_button_down : _mouse_hovering)) {
delete this;
}
}