Skip to content

Commit d254fc5

Browse files
🤖 dprint fmt
1 parent ddf8ffb commit d254fc5

18 files changed

+26
-40
lines changed

types/gorilla-engine/components/BarStepEditor.d.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ declare namespace GorillaEngine.UI {
1111
*/
1212
paramPath: string;
1313
/**
14-
* Index of the first
14+
* Index of the first
1515
*/
1616
startIndex: number;
1717
endIndex: number;
1818
/**
1919
* The dimension of the step
2020
*/
21-
step: Partial<{
21+
step: Partial<{
2222
/**
2323
* The horizontal offset of the step relative to its default position
2424
*/
@@ -45,7 +45,7 @@ declare namespace GorillaEngine.UI {
4545
* The color of the step when it is active.
4646
*/
4747
activeColor: string;
48-
48+
4949
markDefault: boolean;
5050
incrementHeight: number;
5151
backgroundColor: string;
@@ -66,4 +66,3 @@ declare namespace GorillaEngine.UI {
6666
// tslint:disable-next-line:no-empty-interface
6767
interface BarStepEditor extends BarStepEditorProps {}
6868
}
69-

types/gorilla-engine/components/ComboBox.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ declare namespace GorillaEngine.UI {
5656
}
5757

5858
interface ComboBoxProps extends Common, Bounds, Background, Clickable, Font, Highlight {
59-
6059
/**
6160
* The value of the combobox, which corresponds to the index of the initially selected item in the `items` array.
6261
*/

types/gorilla-engine/components/Knob.d.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
declare namespace GorillaEngine.UI {
2-
32
interface KnobProps extends Common, Bounds, Clickable, Background, Skinnable, MIDILearn, Highlight {
43
/**
54
* The text displayed for component
@@ -22,7 +21,6 @@ declare namespace GorillaEngine.UI {
2221
*/
2322
stepSize: number;
2423

25-
2624
inverted: boolean;
2725
/**
2826
* If `true`, the knob's value can be adjusted using the mouse scroll wheel.
@@ -32,8 +30,7 @@ declare namespace GorillaEngine.UI {
3230
* The path to a single image used for the knob's appearance.
3331
*/
3432
image: string;
35-
/**TODO:: this is rather a slider prop than a knob prop
36-
*
33+
/** TODO:: this is rather a slider prop than a knob prop
3734
*/
3835
snapsToMousePosition: boolean;
3936
/**

types/gorilla-engine/components/LevelMeter.d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
declare namespace GorillaEngine.UI {
22
interface LevelMeterProps extends Common, Bounds, Background, Skinnable {
3-
43
/**
54
* If `true`, the level meter will display and hold the highest peak level reached
65
* for a defined duration.
@@ -15,7 +14,7 @@ declare namespace GorillaEngine.UI {
1514
*/
1615
fillArea: boolean;
1716
/**
18-
* If `true`, the level meter will be vertically inverted.
17+
* If `true`, the level meter will be vertically inverted.
1918
*/
2019
inverted: boolean;
2120
/**
@@ -26,7 +25,7 @@ declare namespace GorillaEngine.UI {
2625
* If `true`, the level meter won't fill the area below the current level peak.
2726
*/
2827
positionIndicator: boolean;
29-
/**
28+
/**
3029
* Defines a **threshold** on the logarithmic scale. Below this value,
3130
* a specific logarithmic mapping is applied to `normalizedValue` for detailed display.
3231
* At or above this threshold, the display behavior may change (e.g., clamp to full).

types/gorilla-engine/components/Rubberband.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
declare namespace GorillaEngine.UI {
22
interface RubberbandProps extends Common, Bounds {
3-
43
}
54
/**
65
* A container that forwards mouse down events to its children as if they were individually clicked.

types/gorilla-engine/components/ScrollView.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ declare namespace GorillaEngine.UI {
1414
* @default false
1515
*/
1616
hideHorizontalScrollbar: boolean;
17-
/**TODO:: No idea if this is correct
17+
/** TODO:: No idea if this is correct
1818
* If true, the scroll view will ignore keypress events.
1919
* @default false
2020
*/

types/gorilla-engine/components/StepEditor.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ declare namespace GorillaEngine.UI {
1212
*/
1313
paramPath: string;
1414
/**
15-
* Index of the first
15+
* Index of the first
1616
*/
1717
startIndex: number;
1818
endIndex: number;
@@ -46,7 +46,7 @@ declare namespace GorillaEngine.UI {
4646
* The color of the step when it is active.
4747
*/
4848
activeColor: string;
49-
49+
5050
markDefault: boolean;
5151
incrementHeight: number;
5252
backgroundColor: string;

types/gorilla-engine/components/TextBox.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
declare namespace GorillaEngine.UI {
22
interface TextBoxProps extends Font, Clickable, Bounds, Background, Margin, Keyable {
33
/**
4-
* The initial text value of the text box.
4+
* The initial text value of the text box.
55
*/
66
text: string;
77
/**
88
* The placeholder text of the text box.
99
*/
1010
placeholder: string;
11-
/**TODO:: check if it works
11+
/** TODO:: check if it works
1212
* An additional suffix displayed in the textbox without alterting the text value.
1313
*/
1414
unit: string;
@@ -41,12 +41,12 @@ declare namespace GorillaEngine.UI {
4141
*/
4242
multiLine: boolean;
4343

44-
/**TODO:: what is even the point of this?
44+
/** TODO:: what is even the point of this?
4545
* If true, the text box will not allow user input and will be read-only.
4646
*/
4747
readOnly: boolean;
4848
/**
49-
* The type of data that accepted by the text box.
49+
* The type of data that accepted by the text box.
5050
*/
5151
acceptedDataType: "integer" | "int" | "float" | "string";
5252

types/gorilla-engine/components/Toggle.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ declare namespace GorillaEngine.UI {
6868
* The radio index of the toggle
6969
*/
7070
radioIndex: number;
71-
/**
71+
/**
7272
* The radio value of the toggle. If it maches radioIndex, the toggle will be on.
7373
*/
7474
radioValue: number;

types/gorilla-engine/components/Waveform.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
declare namespace GorillaEngine.UI {
22
interface WaveformDragZone {
3-
4-
53
x: number;
64
y: number;
75
x2: number;

0 commit comments

Comments
 (0)