@babylonjs/node-editor 5.0.0-beta.5 → 5.0.0-beta.9
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.
|
@@ -61386,7 +61386,7 @@ var GraphNode = /** @class */ (function () {
|
|
|
61386
61386
|
}
|
|
61387
61387
|
this._comments.innerHTML = this.block.comments || "";
|
|
61388
61388
|
this._comments.title = this.block.comments || "";
|
|
61389
|
-
if (this.block.willBeGeneratedIntoVertexShaderFromFragmentShader) {
|
|
61389
|
+
if (this.block.getClassName() !== "ElbowBlock" && this.block.willBeGeneratedIntoVertexShaderFromFragmentShader) {
|
|
61390
61390
|
this._promotionWarning.classList.add("visible");
|
|
61391
61391
|
}
|
|
61392
61392
|
else {
|
|
@@ -67095,6 +67095,9 @@ var ColorPicker = /** @class */ (function (_super) {
|
|
|
67095
67095
|
}
|
|
67096
67096
|
var hsv = this.state.color.toHSV();
|
|
67097
67097
|
_babylonjs_core_Maths_math_color__WEBPACK_IMPORTED_MODULE_2__["Color3"].HSVtoRGBToRef(hsv.r, saturation, value, this.state.color);
|
|
67098
|
+
if (this.state.alpha === 0) {
|
|
67099
|
+
this.setState({ alpha: 1 });
|
|
67100
|
+
}
|
|
67098
67101
|
this.setState({ color: this.state.color });
|
|
67099
67102
|
};
|
|
67100
67103
|
ColorPicker.prototype._evaluateHue = function (evt) {
|
|
@@ -67148,6 +67151,7 @@ var ColorPicker = /** @class */ (function (_super) {
|
|
|
67148
67151
|
left: "".concat((hsv.r / 360.0) * 100, "%"),
|
|
67149
67152
|
border: "1px solid " + colorHexRef,
|
|
67150
67153
|
} }))),
|
|
67154
|
+
react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "color-picker-alpha" }),
|
|
67151
67155
|
react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "color-picker-rgb" },
|
|
67152
67156
|
react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: "red" },
|
|
67153
67157
|
react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_colorComponentEntry__WEBPACK_IMPORTED_MODULE_3__["ColorComponentEntry"], { label: "R", min: 0, max: 255, value: Math.round(this.state.color.r * 255), onChange: function (value) {
|