fix: OHIF-219 - Viewport Labels should be sequential (#1881)

This commit is contained in:
Rodrigo Antinarelli authored and GitHub committed 2020-07-10 16:06:45 +02:00
1 parent 066ba97bc9
commit b28a70520e
6 files changed
+57 -29

No files matched your search

@@ -88,6 +88,8 @@ export function ViewportGridProvider({ children, service }) {
DEFAULT_STATE
);
console.log('viewportGridState',viewportGridState)
const getState = useCallback(() => viewportGridState, [viewportGridState]);
const setActiveViewportIndex = useCallback(
index => dispatch({ type: 'SET_ACTIVE_VIEWPORT_INDEX', payload: index }),