@voicenter-team/opensips-js 1.0.115 → 1.0.116
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.
package/dist/opensips-js.es.js
CHANGED
@@ -82377,10 +82377,10 @@ class Ub {
|
|
82377
82377
|
this.stage.width() < t.width ? (n = this.stage.width(), i = this.stage.width() / s) : (n = t.width, i = t.width / s), console.log("imageWidth", n), console.log("imageHeight", i);
|
82378
82378
|
const a = new Tc.Image({
|
82379
82379
|
image: t,
|
82380
|
-
x: (this.stage.width() -
|
82381
|
-
// Center horizontally
|
82382
|
-
y: (this.stage.height() -
|
82383
|
-
// Center vertically
|
82380
|
+
x: (this.stage.width() - n) / 2,
|
82381
|
+
//(this.stage.width() - imageObj.width) / 2, // Center horizontally
|
82382
|
+
y: (this.stage.height() - i) / 2,
|
82383
|
+
//(this.stage.height() - imageObj.height) / 2, // Center vertically
|
82384
82384
|
width: n,
|
82385
82385
|
height: i
|
82386
82386
|
});
|