diff --git a/types/gorilla-engine/components/SliceEditor.d.ts b/types/gorilla-engine/components/SliceEditor.d.ts index 311f2e7edc9424..dff87900f2bd64 100755 --- a/types/gorilla-engine/components/SliceEditor.d.ts +++ b/types/gorilla-engine/components/SliceEditor.d.ts @@ -69,6 +69,9 @@ declare namespace GorillaEngine.UI { overlayColorRight?: string; enforceValueOnConstraintViolation?: boolean; valueOffsetOnConstraintViolation?: number; + handleDragMode?: "full" | "handle"; + handleHeight?: number; + handlePosition?: "top" | "bottom"; styles?: { normal: SliceStyle; hover: SliceStyle; @@ -101,6 +104,7 @@ declare namespace GorillaEngine.UI { enabled: boolean; backgroundColor: string; backgroundImage: string; + measureScale: number; measures: GridMeasure[]; addMeasure(measure: GridMeasure): void; }>; @@ -108,6 +112,9 @@ declare namespace GorillaEngine.UI { normal: Partial; hover: Partial; selected: Partial; + handleDragMode: "full" | "handle"; + handleHeight: number; + handlePosition: "top" | "bottom"; }>; selectionAreaStyle: Partial<{ backgroundColor: string; diff --git a/types/gorilla-engine/gorilla-engine-tests.ts b/types/gorilla-engine/gorilla-engine-tests.ts index b3af70be7348b3..afa7cfae0225b8 100644 --- a/types/gorilla-engine/gorilla-engine-tests.ts +++ b/types/gorilla-engine/gorilla-engine-tests.ts @@ -8,7 +8,7 @@ const pad = new GorillaEngine.UI.XYPad({ id: "myXYPad" }); const scrollView = new GorillaEngine.UI.ScrollView({ id: "myScrollView" }); -const knob = new GorillaEngine.UI.Knob({ id: "myknob" }); +const knob = new GorillaEngine.UI.Knob({ id: "myknob", x: 2, y: 0 }); const label = new GorillaEngine.UI.Label({ margin: 5 });