Skip to content

Commit 1494c22

Browse files
committed
work commit
1 parent 7914a49 commit 1494c22

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/vector/Renderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ acgraph.vector.Renderer.prototype.isImageLoading = function() {
561561
*/
562562
acgraph.vector.Renderer.prototype.getImageLoader = function() {
563563
if (!this.imageLoader_)
564-
this.imageLoader_ = new goog.net.ImageLoader();
564+
this.imageLoader_ = new goog.net.ImageLoader(/** @type {Element} */(document.body));
565565
return this.imageLoader_;
566566
};
567567

src/vector/svg/Renderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ acgraph.vector.svg.Renderer.prototype.measure = function(text, style) {
262262

263263
// var bbox_html = this.measuringHTMLText(text, style);
264264
// console.log(bbox_html);
265-
console.log(bbox);
265+
// console.log(bbox);
266266

267267
// return bbox_html;
268268
return new acgraph.math.Rect(bbox.x, bbox.y, bbox.width + additionWidth, bbox.height);

0 commit comments

Comments
 (0)