mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-27 00:19:09 +00:00
(svn r19959) -Fix (r19889): Disable drag destination highlighting when aborting a drag.
This commit is contained in:
@@ -1279,6 +1279,12 @@ public:
|
||||
}
|
||||
this->RaiseWidget(ORDER_WIDGET_GOTO);
|
||||
this->SetWidgetDirty(ORDER_WIDGET_GOTO);
|
||||
|
||||
/* Remove drag highlighting if it exists. */
|
||||
if (this->order_over != INVALID_ORDER) {
|
||||
this->order_over = INVALID_ORDER;
|
||||
this->SetWidgetDirty(ORDER_WIDGET_ORDER_LIST);
|
||||
}
|
||||
}
|
||||
|
||||
virtual void OnMouseLoop()
|
||||
|
Reference in New Issue
Block a user