Skip to content
This repository was archived by the owner on Aug 15, 2019. It is now read-only.

Commit ebb34d8

Browse files
biharckdannyrb
authored andcommitted
feat(StudyList.js): replacing double clicking to single clicking when selecting a study (#87)
#506
1 parent 96e9ef7 commit ebb34d8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/components/studyList/StudyList.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,16 +213,14 @@ class StudyList extends Component {
213213
? 'studylistStudy noselect active'
214214
: 'studylistStudy noselect'
215215
}
216-
onClick={() => {
217-
this.onHighlightItem(study.studyInstanceUid);
218-
}}
219216
onMouseDown={event => {
220217
// middle/wheel click
221218
if (event.button === 1) {
222219
this.props.onSelectItem(study.studyInstanceUid);
223220
}
224221
}}
225-
onDoubleClick={() => {
222+
onClick={() => {
223+
this.onHighlightItem(study.studyInstanceUid);
226224
this.props.onSelectItem(study.studyInstanceUid);
227225
}}
228226
>

0 commit comments

Comments
 (0)