Skip to content

Commit c5f3716

Browse files
agachumaUJAM-JHpkellett
authored
🤖 Merge PR DefinitelyTyped#72969 Feature/mapping editor by @agachuma
Co-authored-by: Jan Hörnle <[email protected]> Co-authored-by: Paul Kellett <[email protected]>
1 parent 9006c4e commit c5f3716

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

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

Lines changed: 2 additions & 1 deletion
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;
@@ -14,7 +15,7 @@ declare namespace GorillaEngine.UI {
1415
refreshView(index?: number): void;
1516
selectAllZones(): void;
1617
deselectAllZones(): void;
17-
selectZone(zone: Partial<Zone>): void;
18+
selectZones(zones: Partial<Zone[]>):void;
1819
addZone(zone: Partial<Zone>): Zone;
1920
removeZone(zone: Partial<Zone>): void;
2021
}

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 });
18+
const mappingEditor = new GorillaEngine.UI.MappingEditor({ id: 'myNewMappingEditor', x: 0, y:0})

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)