Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@babylonjs/gui

Package Overview
Dependencies
Maintainers
1
Versions
543
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babylonjs/gui - npm Package Compare versions

Comparing version 7.16.0 to 7.16.1

1

2D/advancedDynamicTexture.d.ts

@@ -351,2 +351,3 @@ import type { Nullable } from "@babylonjs/core/types.js";

attach(): void;
private _focusProperties;
private _focusNextElement;

@@ -353,0 +354,0 @@ /**

16

2D/controls/inputTextArea.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc