Fix input escape

This commit is contained in:
barsdeveloper
2025-01-25 20:54:35 +02:00
parent b4fdb99819
commit 58bb21b332
9 changed files with 120 additions and 8 deletions

View File

@@ -882,7 +882,7 @@ ueb-pin[data-type="/Script/CoreUObject.LinearColor"] .ueb-pin-input {
max-height: 16em;
/* 97% is to get an effective font size of 12.6px from --ueb-font-size which is 13 px by default */
font-size: 97%;
white-space: nowrap;
white-space: pre;
background: none;
color: inherit;
overflow: auto;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

13
dist/ueblueprint.js vendored
View File

@@ -7840,7 +7840,7 @@ class IFromToPositionedElement extends IElement {
type: Number,
attribute: false,
},
fromY: {
originY: {
type: Number,
attribute: false,
},
@@ -13060,6 +13060,17 @@ class RotatorPinTemplate extends INumericPinTemplate {
/** @extends IInputPinTemplate<StringEntity> */
class StringPinTemplate extends IInputPinTemplate {
/**
* @param {String[]} values
* @param {String[]} rawValues
*/
setDefaultValue(values = [], rawValues) {
const value = this.element.getDefaultValue();
value.value = values[0];
this.element.setDefaultValue(value);
this.element.requestUpdate();
}
}
/**

File diff suppressed because one or more lines are too long