From 3956e91fe6d2f649a4bf0e557cbaba253dc177b7 Mon Sep 17 00:00:00 2001 From: bobzel Date: Mon, 10 Feb 2025 15:11:47 -0500 Subject: fixed presbox numerical text input to be editable --- src/client/views/nodes/trails/PresBox.tsx | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/client/views/nodes/trails/PresBox.tsx b/src/client/views/nodes/trails/PresBox.tsx index b98a7f96e..9ab5fb1bd 100644 --- a/src/client/views/nodes/trails/PresBox.tsx +++ b/src/client/views/nodes/trails/PresBox.tsx @@ -1604,7 +1604,7 @@ export class PresBox extends ViewBoxBaseComponent() {
- e.stopPropagation()} onChange={action(e => this.updateDurationTime(e.target.value))} /> + this.updateDurationTime(e.target.value))} /> s
@@ -1893,8 +1893,8 @@ export class PresBox extends ViewBoxBaseComponent() { {/* Movement */}
e.stopPropagation()} + onPointerUp={e => e.stopPropagation()} onClick={action(e => { e.stopPropagation(); this._openMovementDropdown = false; @@ -1914,7 +1914,7 @@ export class PresBox extends ViewBoxBaseComponent() {
- e.stopPropagation()} onChange={action(e => this.updateTransitionTime(e.target.value))} /> + e.stopPropagation()} onChange={action(e => this.updateTransitionTime(e.target.value))} /> s
@@ -1935,7 +1935,7 @@ export class PresBox extends ViewBoxBaseComponent() {
{PresBox.inputter('0', '1', '100', zoom, activeItem.presentation_movement === PresMovement.Zoom, this.updateZoom)}
- this.updateZoom(e.target.value)} /> + this.updateZoom(e.target.value)} /> %
@@ -1957,7 +1957,7 @@ export class PresBox extends ViewBoxBaseComponent() { {/* Cubic bezier editor */} - {this.showEaseFunctions && StrCast(activeItem.presentation_easeFunc).includes('cubic-bezier') && ( + {!this.showEaseFunctions || !StrCast(activeItem.presentation_easeFunc).includes('cubic-bezier') ? null : (
@@ -1965,8 +1965,8 @@ export class PresBox extends ViewBoxBaseComponent() {
e.stopPropagation()} + onPointerUp={e => e.stopPropagation()} onClick={action(e => { e.stopPropagation(); this._openMovementDropdown = false; @@ -2004,6 +2004,7 @@ export class PresBox extends ViewBoxBaseComponent() { MORE
+ {this.aiEffects}
{/* Effect direction */} -- cgit v1.2.3-70-g09d2