Commit 47e288c2 authored by rockyl's avatar rockyl

Merge remote-tracking branch 'origin/designtime' into designtime

parents 8c6dfbc8 d316d012
...@@ -15589,6 +15589,12 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -15589,6 +15589,12 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
}; };
TextField.prototype._calculateBounds = function () { TextField.prototype._calculateBounds = function () {
var _a = this._localBoundsSelf, width = _a.width, height = _a.height; var _a = this._localBoundsSelf, width = _a.width, height = _a.height;
<<<<<<< HEAD
var matrix = this.transform.worldMatrix;
this._bounds.x = matrix.tx;
this._bounds.y = matrix.ty;
=======
>>>>>>> 94674e57a616ffee254265568109dfb6e9d69533
this._bounds.width = width; this._bounds.width = width;
this._bounds.height = height; this._bounds.height = height;
}; };
...@@ -19615,6 +19621,12 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate: ...@@ -19615,6 +19621,12 @@ var tslib = {__extends: __extends,__assign: __assign,__rest: __rest,__decorate:
if (url.indexOf('://') >= 0) { if (url.indexOf('://') >= 0) {
if (url.indexOf(assetScheme) === 0) { if (url.indexOf(assetScheme) === 0) {
url = url.replace(assetScheme, ''); url = url.replace(assetScheme, '');
<<<<<<< HEAD
if (exports.editorMode) {
url = exports.assetResolver(url);
}
=======
>>>>>>> 94674e57a616ffee254265568109dfb6e9d69533
} }
} }
else { else {
......
This diff is collapsed.
...@@ -117,11 +117,9 @@ export class Loader extends EventDispatcher { ...@@ -117,11 +117,9 @@ export class Loader extends EventDispatcher {
//console.log("覆盖原先数据:" + name); //console.log("覆盖原先数据:" + name);
} }
this.caches[name] = data; this.caches[name] = data;
console.log(this.caches)
} }
get(name: string) { get(name: string) {
console.log(this.caches)
return this.caches[name]; return this.caches[name];
} }
} }
......
...@@ -48,7 +48,6 @@ export class Image extends Sprite implements IUIComponent { ...@@ -48,7 +48,6 @@ export class Image extends Sprite implements IUIComponent {
}*/ }*/
if (editorMode) { if (editorMode) {
console.log("assetResolver(url)",assetResolver(url))
url = assetResolver(url); url = assetResolver(url);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment