forked from Mirrors/openclonk
Removed mousedrag&drop for actionbar
This was wrongly introduced some commits ago
parent
ca6f25b785
commit
8a02a17d44
|
@ -50,8 +50,6 @@ protected func Construction()
|
||||||
this.Parallaxity = [0,0];
|
this.Parallaxity = [0,0];
|
||||||
// visibility
|
// visibility
|
||||||
this.Visibility = VIS_None;
|
this.Visibility = VIS_None;
|
||||||
// mouse drag
|
|
||||||
this.MouseDrag = MD_DragSource | MD_DropTarget;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected func Destruction()
|
protected func Destruction()
|
||||||
|
@ -286,6 +284,10 @@ public func SetObject(object obj, int type, int pos, int hot)
|
||||||
myobject = obj;
|
myobject = obj;
|
||||||
hotkey = hot;
|
hotkey = hot;
|
||||||
|
|
||||||
|
// Set mousedrag for inventory objects
|
||||||
|
if (actiontype == ACTIONTYPE_INVENTORY)
|
||||||
|
this.MouseDrag = MD_DragSource | MD_DropTarget;
|
||||||
|
|
||||||
if(!myobject)
|
if(!myobject)
|
||||||
{
|
{
|
||||||
SetGraphics("None");
|
SetGraphics("None");
|
||||||
|
|
Loading…
Reference in New Issue