import createZoomWithWheel from './zoomWithWheel' ; import { highlightStep , unhighlightStep } from 'actions/workspace' ; import { Cursor } from 'utils/constants' ; export const createSelect = ( state ) => ( { ... createZoomWithWheel ( state ) , getCursorForLandmark ( ) { return Cursor . SELECT ; } , onLandmarkMouseEnter ( dispatch , symbol ) { dispatch ( highlightStep ( symbol ) ) ; } , onLandmarkMouseLeave ( dispatch ) { dispatch ( unhighlightStep ( ) ) ; } , shouldShowLens : true , } ) ; export default createSelect ;