Skip to content

Commit 9eab24a

Browse files
update: remove shift key with mouse wheel event
1 parent 3f1ddc7 commit 9eab24a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DSView/pv/view/viewport.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1092,7 +1092,7 @@ void Viewport::wheelEvent(QWheelEvent *event)
10921092
static int64_t last_time;
10931093
if (event->source() == Qt::MouseEventSynthesizedBySystem)
10941094
{
1095-
if (active && (event->modifiers() & Qt::ShiftModifier))
1095+
if (active)
10961096
{
10971097
last_time = QDateTime::currentMSecsSinceEpoch();
10981098
const double scale = delta > 1.5 ? 1 : (delta < -1.5 ? -1 : 0);

0 commit comments

Comments
 (0)