This commit is contained in:
Thomas Wilshaw
2021-10-22 22:15:54 +01:00
parent 1a7f821d82
commit 2d35bcb1db
-2
View File
@@ -140,8 +140,6 @@ void Marker::mouseMoveEvent(QMouseEvent* e)
if (active_) {
dragging_ = true;
QPoint old_pos = mapToGlobal(pos());
int new_pos = marker_start_x_ + e->globalPos().x() - click_position_.x();
if (new_pos > -3 && new_pos < static_cast<SeekableWidget *>(parent())->width() - 3) {