mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-09-05 05:07:39 +00:00
Compare commits
4 commits
112b9e4297
...
2788e2f525
Author | SHA1 | Date | |
---|---|---|---|
|
2788e2f525 | ||
|
3f32faf7bd | ||
|
8aaf36d9e1 | ||
|
801bfc4c4a |
|
@ -188,6 +188,7 @@ class FocusCameraSongEvent extends SongEvent
|
|||
name: 'duration',
|
||||
title: 'Duration',
|
||||
defaultValue: 4.0,
|
||||
min: 0,
|
||||
step: 0.5,
|
||||
type: SongEventFieldType.FLOAT,
|
||||
units: 'steps'
|
||||
|
|
|
@ -112,6 +112,7 @@ class ScrollSpeedEvent extends SongEvent
|
|||
name: 'scroll',
|
||||
title: 'Target Value',
|
||||
defaultValue: 1.0,
|
||||
min: 0.1,
|
||||
step: 0.1,
|
||||
type: SongEventFieldType.FLOAT,
|
||||
units: 'x'
|
||||
|
@ -120,6 +121,7 @@ class ScrollSpeedEvent extends SongEvent
|
|||
name: 'duration',
|
||||
title: 'Duration',
|
||||
defaultValue: 4.0,
|
||||
min: 0,
|
||||
step: 0.5,
|
||||
type: SongEventFieldType.FLOAT,
|
||||
units: 'steps'
|
||||
|
|
|
@ -77,6 +77,7 @@ class SetCameraBopSongEvent extends SongEvent
|
|||
name: 'intensity',
|
||||
title: 'Intensity',
|
||||
defaultValue: 1.0,
|
||||
min: 0,
|
||||
step: 0.1,
|
||||
type: SongEventFieldType.FLOAT,
|
||||
units: 'x'
|
||||
|
@ -85,6 +86,7 @@ class SetCameraBopSongEvent extends SongEvent
|
|||
name: 'rate',
|
||||
title: 'Rate',
|
||||
defaultValue: 4,
|
||||
min: 0,
|
||||
step: 1,
|
||||
type: SongEventFieldType.INTEGER,
|
||||
units: 'beats/zoom'
|
||||
|
|
|
@ -114,6 +114,7 @@ class ZoomCameraSongEvent extends SongEvent
|
|||
name: 'zoom',
|
||||
title: 'Zoom Level',
|
||||
defaultValue: 1.0,
|
||||
min: 0,
|
||||
step: 0.05,
|
||||
type: SongEventFieldType.FLOAT,
|
||||
units: 'x'
|
||||
|
@ -122,6 +123,7 @@ class ZoomCameraSongEvent extends SongEvent
|
|||
name: 'duration',
|
||||
title: 'Duration',
|
||||
defaultValue: 4.0,
|
||||
min: 0,
|
||||
step: 0.5,
|
||||
type: SongEventFieldType.FLOAT,
|
||||
units: 'steps'
|
||||
|
|
|
@ -191,7 +191,7 @@ class ChartEditorEventDataToolbox extends ChartEditorBaseToolbox
|
|||
numberStepper.id = field.name;
|
||||
numberStepper.step = field.step ?? 1.0;
|
||||
if (field.min != null) numberStepper.min = field.min;
|
||||
if (field.min != null) numberStepper.max = field.max;
|
||||
if (field.max != null) numberStepper.max = field.max;
|
||||
if (field.defaultValue != null) numberStepper.value = field.defaultValue;
|
||||
input = numberStepper;
|
||||
case FLOAT:
|
||||
|
|
Loading…
Reference in a new issue