@progress/kendo-charts 1.23.4-dev.202205040416 → 1.23.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,7 +5,6 @@ import {
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
Class,
|
|
8
|
-
addClass,
|
|
9
8
|
deepExtend,
|
|
10
9
|
round,
|
|
11
10
|
limitValue,
|
|
@@ -332,11 +331,11 @@ export var ImageTile = (function (Class) {
|
|
|
332
331
|
|
|
333
332
|
ImageTile.prototype.createElement = function createElement () {
|
|
334
333
|
var el = document.createElement("img");
|
|
335
|
-
|
|
334
|
+
var size = this.options.size + "px";
|
|
336
335
|
el.style.position = "absolute";
|
|
337
336
|
el.style.display = "block";
|
|
338
|
-
el.style.width =
|
|
339
|
-
el.style.height =
|
|
337
|
+
el.style.width = el.style.maxWidth = size;
|
|
338
|
+
el.style.height = el.style.maxHeight = size;
|
|
340
339
|
|
|
341
340
|
this.element = el;
|
|
342
341
|
|
|
@@ -5,7 +5,6 @@ import {
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
Class,
|
|
8
|
-
addClass,
|
|
9
8
|
deepExtend,
|
|
10
9
|
round,
|
|
11
10
|
limitValue,
|
|
@@ -314,11 +313,11 @@ export class ImageTile extends Class {
|
|
|
314
313
|
|
|
315
314
|
createElement() {
|
|
316
315
|
let el = document.createElement("img");
|
|
317
|
-
|
|
316
|
+
const size = this.options.size + "px";
|
|
318
317
|
el.style.position = "absolute";
|
|
319
318
|
el.style.display = "block";
|
|
320
|
-
el.style.width =
|
|
321
|
-
el.style.height =
|
|
319
|
+
el.style.width = el.style.maxWidth = size;
|
|
320
|
+
el.style.height = el.style.maxHeight = size;
|
|
322
321
|
|
|
323
322
|
this.element = el;
|
|
324
323
|
|