aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/trails
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2025-05-05 14:53:49 -0400
committerbobzel <zzzman@gmail.com>2025-05-05 14:53:49 -0400
commit74836a59c4af0a3c240c5e3435359935282ce049 (patch)
tree0768c444279c330468ef2e20bc5c145db9ccf2dd /src/client/views/nodes/trails
parent19adcca1a89405a47da57fee64fe5fde4720c16a (diff)
fixed keeping focus on labelBox when text butons are clicked.
Diffstat (limited to 'src/client/views/nodes/trails')
-rw-r--r--src/client/views/nodes/trails/PresSlideBox.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/trails/PresSlideBox.tsx b/src/client/views/nodes/trails/PresSlideBox.tsx
index 3440b29dd..55a655c7a 100644
--- a/src/client/views/nodes/trails/PresSlideBox.tsx
+++ b/src/client/views/nodes/trails/PresSlideBox.tsx
@@ -559,8 +559,8 @@ export class PresSlideBox extends ViewBoxBaseComponent<FieldViewProps>() {
style={{
backgroundColor: presColorBool ? (isSelected ? 'rgba(250,250,250,0.3)' : 'transparent') : isSelected ? Colors.LIGHT_BLUE : 'transparent',
opacity: this._dragging ? 0.3 : 1,
- paddingLeft: NumCast(this.layoutDoc._xMargin, this._props._xMargin),
- paddingRight: NumCast(this.layoutDoc._xMargin, this._props._xMargin),
+ paddingLeft: NumCast(this.layoutDoc._xMargin, this._props.xMargin),
+ paddingRight: NumCast(this.layoutDoc._xMargin, this._props.xMargin),
paddingTop: NumCast(this.layoutDoc._yPadding, this._props.yMargin),
paddingBottom: NumCast(this.layoutDoc._yPadding, this._props.yMargin),
}}