File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/visu/pars/Elements/Scrollbar Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1
1
import * as React from 'react' ;
2
2
import { HorizontalScrollbar } from './horizontal' ;
3
+ import { VerticalScrollbar } from './vertical' ;
3
4
import { IScrollbarShape } from '../../../Interfaces/javainterfaces' ;
4
5
import * as util from '../../Utils/utilfunctions' ;
5
6
import { parseDynamicShapeParameters , parseScrollUpdate } from '../Features/Events/eventManager' ;
@@ -28,6 +29,6 @@ export const Scrollbar :React.FunctionComponent<Props> = ({section})=>
28
29
if ( horz_position ) {
29
30
return ( < HorizontalScrollbar shape = { scrollbar } dynamicParameters = { dynamicShapeParameters } updateFunction = { update } > </ HorizontalScrollbar > )
30
31
} else {
31
- return null
32
+ return ( < VerticalScrollbar shape = { scrollbar } dynamicParameters = { dynamicShapeParameters } updateFunction = { update } > </ VerticalScrollbar > )
32
33
}
33
34
}
You can’t perform that action at this time.
0 commit comments