Skip to content

Commit f15ea4c

Browse files
agachumaUJAM-JHpkellett
authored
🤖 Merge PR DefinitelyTyped#73376 Feature/mapping editor by @agachuma
Co-authored-by: Jan Hörnle <jhoernle@ujam.com> Co-authored-by: Paul Kellett <paul.kellett@mda-vst.com>
1 parent 9907c90 commit f15ea4c

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
declare namespace GorillaEngine.UI {
2+
23
interface Zone {
34
path: string;
45
name: string;
@@ -16,9 +17,9 @@ declare namespace GorillaEngine.UI {
1617
refreshView(index?: number): void;
1718
selectAllZones(): void;
1819
deselectAllZones(): void;
19-
selectZones(zones: Partial<Zone[]>): void;
20-
addZone(zone: Partial<Zone>): Zone;
21-
removeZone(zone: Partial<Zone>): void;
20+
selectZones(zones: Partial<Zone[]>):void;
21+
addZones(zones: Partial<Zone[]>): void;
22+
removeZones(zones: Partial<Zone[]>): void;
2223
}
2324

2425
// tslint:disable-next-line:no-empty-interface

types/gorilla-engine/gorilla-engine-tests.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
const mylabel = new GorillaEngine.UI.Label({ text: "rr" });
23

34
const combo = new GorillaEngine.UI.ComboBox({ id: "myCombo", x: 0 });
@@ -14,4 +15,4 @@ const label = new GorillaEngine.UI.Label({ margin: 5 });
1415

1516
const slider = new GorillaEngine.UI.Slider({ id: "slider", x: 0 });
1617

17-
const mappingEditor = new GorillaEngine.UI.MappingEditor({ id: "myNewMappingEditor", x: 0, y: 2 });
18+
const mappingEditor = new GorillaEngine.UI.MappingEditor({ id: 'myNewMappingEditor', x: 3, y:2})

types/gorilla-engine/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,4 +598,4 @@ declare namespace GorillaEngine {
598598
*/
599599
function setSettingsButtonPosition(x: number, y: number): void;
600600
}
601-
}
601+
}

0 commit comments

Comments
 (0)