Skip to content

Commit

Permalink
Fix Spline live segment display
Browse files Browse the repository at this point in the history
  • Loading branch information
bhennion committed Oct 16, 2023
1 parent ee03a0e commit d8da6c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/gui/PageView.cpp
Expand Up @@ -501,7 +501,7 @@ auto XojPageView::onButtonTriplePressEvent(const PositionInputData& pos) -> bool
}

auto XojPageView::onMotionNotifyEvent(const PositionInputData& pos) -> bool {
if (currentSequenceDeviceId != pos.deviceId) {
if (currentSequenceDeviceId && currentSequenceDeviceId != pos.deviceId) {
// This motion event is not from the device which started the sequence: reject it
return false;
}
Expand Down

0 comments on commit d8da6c8

Please sign in to comment.