New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@babylonjs/gui

Package Overview
Dependencies
Maintainers
1
Versions
574
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 4.1.0-alpha.8 to 4.1.0-alpha.12

4

2D/controls/button.d.ts

@@ -28,2 +28,6 @@ import { Nullable } from "@babylonjs/core/types";

pointerUpAnimation: () => void;
/**
* Gets or sets a boolean indicating that the button will let internal controls handle picking instead of doing it directly using its bounding info
*/
delegatePickingToChildren: boolean;
private _image;

@@ -30,0 +34,0 @@ /**

@@ -18,2 +18,6 @@ import * as tslib_1 from "tslib";

_this.name = name;
/**
* Gets or sets a boolean indicating that the button will let internal controls handle picking instead of doing it directly using its bounding info
*/
_this.delegatePickingToChildren = false;
_this.thickness = 1;

@@ -73,2 +77,15 @@ _this.isPointerBlocker = true;

}
if (this.delegatePickingToChildren) {
var contains = false;
for (var index = this._children.length - 1; index >= 0; index--) {
var child = this._children[index];
if (child.isEnabled && child.isHitTestVisible && child.isVisible && !child.notRenderable && child.contains(x, y)) {
contains = true;
break;
}
}
if (!contains) {
return false;
}
}
this._processObservables(type, x, y, pointerId, buttonIndex);

@@ -75,0 +92,0 @@ return true;

4

package.json

@@ -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.1.0-alpha.8",
"version": "4.1.0-alpha.12",
"repository": {

@@ -198,3 +198,3 @@ "type": "git",

"dependencies": {
"@babylonjs/core": "4.1.0-alpha.8",
"@babylonjs/core": "4.1.0-alpha.12",
"tslib": "^1.9.3"

@@ -201,0 +201,0 @@ },

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