Skip to content

Commit

Permalink
fix #937 (#938)
Browse files Browse the repository at this point in the history
  • Loading branch information
andynoack authored Feb 19, 2022
1 parent 9a78366 commit 0c79948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/urh/ui/views/SelectableGraphicView.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def mouseMoveEvent(self, event: QMouseEvent):
return

if self.selection_area.selected_edge == 1:
start = QPoint(self.selection_area.x, self.selection_area.y)
start = QPoint(int(self.selection_area.x), int(self.selection_area.y))
end = self.mapToScene(event.pos())

self.__set_selection_area(w=end.x() - start.x(), h=end.y() - start.y())
Expand Down

0 comments on commit 0c79948

Please sign in to comment.