Skip to content

Commit

Permalink
Merge branch 'main' into add-mouse-event-on-point-hover-and-click
Browse files Browse the repository at this point in the history
  • Loading branch information
OssamaRafique authored Dec 19, 2023
2 parents f4831fc + 92ce824 commit 1ffa1b8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/epiviz.gl/mouse-reader.js
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,10 @@ class MouseReader {
* @param {MouseEvent} event from the event it is called from
*/
_onSelect(event) {
if (this.tool === "box" && this.isUniDirectionalSelectionAllowed) {
if (
(this.tool === "box" || this.tool === "boxh" || this.tool === "boxv") &&
this.isUniDirectionalSelectionAllowed
) {
this.handler.selectPoints(
getPointsBySelectMode(
this.tool,
Expand Down

0 comments on commit 1ffa1b8

Please sign in to comment.