mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-05-22 14:17:30 +08:00
Link direction and minor fixes
This commit is contained in:
@@ -40,7 +40,9 @@ export default class BoolPinTemplate extends PinTemplate {
|
||||
|
||||
renderInput() {
|
||||
return html`
|
||||
<input type="checkbox" class="ueb-pin-input-wrapper ueb-pin-input" ?checked="${this.element.defaultValue?.valueOf() === true}" />
|
||||
<input type="checkbox" class="ueb-pin-input-wrapper ueb-pin-input"
|
||||
?checked="${this.element.defaultValue?.valueOf() === true}"
|
||||
/>
|
||||
`
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,7 +42,8 @@ export default class LinearColorPinTemplate extends PinTemplate {
|
||||
|
||||
renderInput() {
|
||||
return html`
|
||||
<span class="ueb-pin-input-wrapper ueb-pin-input" data-linear-color="${this.element.getDefaultValue()?.toString() ?? nothing}"
|
||||
<span class="ueb-pin-input-wrapper ueb-pin-input"
|
||||
data-linear-color="${this.element.getDefaultValue()?.toString() ?? nothing}"
|
||||
@click="${this.#launchColorPickerWindow}"
|
||||
style="--ueb-linear-color: rgba(${this.element.getDefaultValue()?.toString() ?? nothing})">
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user