mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r19959) -Fix (r19889): Disable drag destination highlighting when aborting a drag.
This commit is contained in:
parent
e71fd4bb57
commit
f053a82594
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue