We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf8ccf6 commit 448000fCopy full SHA for 448000f
src/dragonBones/display/StarlingDisplayBridge.as
@@ -40,6 +40,7 @@
40
}
41
public function set display(value:Object):void
42
{
43
+ /*
44
if (_display is Image && value is Image)
45
46
var from:Image = _display as Image;
@@ -63,6 +64,7 @@
63
64
from.readjustSize();
65
return;
66
67
+ */
68
69
if (_display == value)
70
@@ -78,13 +80,15 @@
78
80
79
81
removeDisplay();
82
83
84
else if(value is Image && !_imageBackup)
85
86
_imageBackup = value as Image;
87
_textureBackup = _imageBackup.texture;
88
_pivotXBackup = _imageBackup.pivotX;
89
_pivotYBackup = _imageBackup.pivotY;
90
91
92
_display = value;
93
addDisplay(parent, index);
94
@@ -198,4 +202,4 @@
198
202
199
203
200
204
201
-}
205
+}
0 commit comments