Skip to content

Commit 60b7d64

Browse files
committed
fix(soba): adjust orbit controls options
1 parent e3e4b90 commit 60b7d64

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libs/soba/controls/src/lib/orbit-controls.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ export interface NgtsOrbitControlsOptions {
1414
keyEvents: boolean | HTMLElement;
1515
}
1616

17-
const defaultOptions: Partial<OrbitControls> & NgtsOrbitControlsOptions = {
17+
const defaultOptions: Partial<Omit<OrbitControls, 'target' | 'enableDamping' | 'domElement'>> &
18+
NgtsOrbitControlsOptions = {
1819
enableDamping: true,
1920
regress: false,
2021
makeDefault: false,

0 commit comments

Comments
 (0)