diff options
| author | bobzel <zzzman@gmail.com> | 2022-11-21 14:50:25 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-11-21 14:50:25 -0500 |
| commit | 1f5db9cfc594dbf337d752ec94dab5fca7d8b6f7 (patch) | |
| tree | 1427d85c987550b60a5a5068b46e07070cc283b9 /src/client/views/nodes/trails | |
| parent | cdd1dd95c67fcb95914913bb5346c5117c0abc27 (diff) | |
working cleaned up version of link editor properties in propertiesView
Diffstat (limited to 'src/client/views/nodes/trails')
| -rw-r--r-- | src/client/views/nodes/trails/PresBox.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/nodes/trails/PresBox.tsx b/src/client/views/nodes/trails/PresBox.tsx index 1cb6bc3a2..c04b79a1e 100644 --- a/src/client/views/nodes/trails/PresBox.tsx +++ b/src/client/views/nodes/trails/PresBox.tsx @@ -1199,7 +1199,7 @@ export class PresBox extends ViewBoxBaseComponent<FieldViewProps>() { _batch: UndoManager.Batch | undefined = undefined; - public static inputter = (min: string, step: string, max: string, value: number, active: boolean, change: (val: string) => void) => { + public static inputter = (min: string, step: string, max: string, value: number, active: boolean, change: (val: string) => void, hmargin?:number) => { let batch: any; return ( <input @@ -1208,6 +1208,7 @@ export class PresBox extends ViewBoxBaseComponent<FieldViewProps>() { min={min} max={max} value={value} + style={{marginLeft: hmargin, marginRight:hmargin, width: `calc(100% - ${2*(hmargin??0)}px)`}} className={`toolbar-slider ${active ? '' : 'none'}`} onPointerDown={e => { batch = UndoManager.StartBatch('pres slider'); |
