Fix viewport hovering when hover mode is set to right-click
This commit is contained in:
@@ -776,7 +776,9 @@ struct TooltipsWindow : public Window
|
||||
case TCC_HOVER: if (!_mouse_hovering) delete this; break;
|
||||
|
||||
case TCC_HOVER_VIEWPORT:
|
||||
if (!_mouse_hovering) {
|
||||
if (_settings_client.gui.hover_delay_ms == 0) {
|
||||
this->delete_next_mouse_loop = true;
|
||||
} else if (!_mouse_hovering) {
|
||||
delete this;
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user