@babylonjs/gui
Advanced tools
Comparing version 7.16.0 to 7.16.1
@@ -351,2 +351,3 @@ import type { Nullable } from "@babylonjs/core/types.js"; | ||
attach(): void; | ||
private _focusProperties; | ||
private _focusNextElement; | ||
@@ -353,0 +354,0 @@ /** |
@@ -650,3 +650,5 @@ import { __decorate } from "@babylonjs/core/tslib.es6.js"; | ||
this._cursorInfo.globalEndIndex = this._cursorInfo.globalStartIndex; | ||
this._textHasChanged(); | ||
this._clickedCoordinateX = null; | ||
this._clickedCoordinateY = null; | ||
super._textHasChanged(); | ||
} | ||
@@ -745,3 +747,3 @@ _draw(context) { | ||
} | ||
else if (cursorTop + this._fontOffset.height > this._clipTextTop + this._availableHeight) { | ||
else if (cursorTop + this._fontOffset.height > this._clipTextTop + this._availableHeight && this._availableHeight > this._fontOffset.height) { | ||
this._scrollTop += this._clipTextTop + this._availableHeight - cursorTop - this._fontOffset.height; | ||
@@ -946,3 +948,7 @@ cursorTop = this._clipTextTop + this._availableHeight - this._fontOffset.height; | ||
this._cursorInfo.relativeStartIndex = this._cursorInfo.globalStartIndex - tmpLength; | ||
if (this._highlightCursorInfo.initialStartIndex !== -1 && this._cursorInfo.globalStartIndex >= this._highlightCursorInfo.initialStartIndex) { | ||
if (!this._isTextHighlightOn) { | ||
this._cursorInfo.relativeEndIndex = this._cursorInfo.relativeStartIndex; | ||
this._cursorInfo.globalEndIndex = this._cursorInfo.globalStartIndex; | ||
} | ||
else if (this._highlightCursorInfo.initialStartIndex !== -1 && this._cursorInfo.globalStartIndex >= this._highlightCursorInfo.initialStartIndex) { | ||
// Current line is at least below the initial highlight index | ||
@@ -958,6 +964,2 @@ while (tmpLength + lineLength <= this._cursorInfo.globalEndIndex) { | ||
} | ||
else if (!this._isTextHighlightOn) { | ||
this._cursorInfo.relativeEndIndex = this._cursorInfo.relativeStartIndex; | ||
this._cursorInfo.globalEndIndex = this._cursorInfo.globalStartIndex; | ||
} | ||
} | ||
@@ -964,0 +966,0 @@ } |
{ | ||
"name": "@babylonjs/gui", | ||
"version": "7.16.0", | ||
"version": "7.16.1", | ||
"main": "index.js", | ||
@@ -21,3 +21,3 @@ "module": "index.js", | ||
"devDependencies": { | ||
"@babylonjs/core": "^7.16.0", | ||
"@babylonjs/core": "^7.16.1", | ||
"@dev/build-tools": "^1.0.0", | ||
@@ -24,0 +24,0 @@ "@lts/gui": "1.0.0" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3542493
36642