Skip to content

Commit f2c55ef

Browse files
committed
Update zoom-widget.tsx
1 parent 04b66a0 commit f2c55ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/widgets/src/zoom-widget.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export class ZoomWidget implements Widget<ZoomWidgetProps> {
6262

6363
this.props = {
6464
...props,
65-
orientation: props.orientation ?? this.orientation,
65+
orientation: props.orientation ?? 'vertical',
6666
transitionDuration: props.transitionDuration ?? 200,
6767
zoomInLabel: props.zoomInLabel ?? 'Zoom In',
6868
zoomOutLabel: props.zoomOutLabel ?? 'Zoom Out',

0 commit comments

Comments
 (0)