Skip to content

Commit fa1e397

Browse files
committed
scrolly
1 parent b8a76aa commit fa1e397

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

  • test/apps/widgets-infovis

test/apps/widgets-infovis/app.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,15 @@ new Deck({
7373
new FullscreenWidget(),
7474
new GimbalWidget(),
7575
new ResetViewWidget({id: 'reset-orbit', viewId: 'orbit-view', placement: 'top-right'}),
76+
new ScrollbarWidget({
77+
id: 'scroll-orbit',
78+
viewId: 'orbit-view',
79+
orientation: 'horizontal',
80+
contentBounds: [
81+
[-50, -50],
82+
[50, 50]
83+
]
84+
}),
7685
new ResetViewWidget({id: 'reset-ortho', viewId: 'ortho-view', placement: 'top-right'}),
7786
new ZoomWidget({viewId: 'ortho-view'}),
7887
new ThemeWidget({

0 commit comments

Comments
 (0)