@babylonjs/gui
Advanced tools
Comparing version 4.0.0-alpha.25 to 4.0.0-alpha.26
@@ -190,4 +190,4 @@ import * as tslib_1 from "tslib"; | ||
context.beginPath(); | ||
context.moveTo(this._x1.getValue(this._host), this._y1.getValue(this._host)); | ||
context.lineTo(this._effectiveX2, this._effectiveY2); | ||
context.moveTo(this._currentMeasure.left, this._currentMeasure.top); | ||
context.lineTo(this._currentMeasure.left + this._currentMeasure.width, this._currentMeasure.top + this._currentMeasure.height); | ||
context.stroke(); | ||
@@ -202,4 +202,4 @@ context.restore(); | ||
Line.prototype._computeAlignment = function (parentMeasure, context) { | ||
this._currentMeasure.left = Math.min(this._x1.getValue(this._host), this._effectiveX2) - this._lineWidth / 2; | ||
this._currentMeasure.top = Math.min(this._y1.getValue(this._host), this._effectiveY2) - this._lineWidth / 2; | ||
this._currentMeasure.left = parentMeasure.left + Math.min(this._x1.getValue(this._host), this._effectiveX2) - this._lineWidth / 2; | ||
this._currentMeasure.top = parentMeasure.top + Math.min(this._y1.getValue(this._host), this._effectiveY2) - this._lineWidth / 2; | ||
}; | ||
@@ -206,0 +206,0 @@ /** |
@@ -7,3 +7,3 @@ { | ||
"description": "The Babylon.js GUI library is an extension you can use to generate interactive user interface. It is build on top of the DynamicTexture.", | ||
"version": "4.0.0-alpha.25", | ||
"version": "4.0.0-alpha.26", | ||
"repository": { | ||
@@ -198,3 +198,3 @@ "type": "git", | ||
"dependencies": { | ||
"@babylonjs/core": "4.0.0-alpha.25", | ||
"@babylonjs/core": "4.0.0-alpha.26", | ||
"tslib": "^1.9.3" | ||
@@ -201,0 +201,0 @@ }, |
Sorry, the diff of this file is not supported yet
1637983
+ Added@babylonjs/core@4.0.0-alpha.26(transitive)
- Removed@babylonjs/core@4.0.0-alpha.25(transitive)