Do not allow for resizing when in constrained mode

This commit is contained in:
Henrik Giesel 2021-07-26 16:32:30 +02:00 committed by Damien Elmes
parent 4142fa2aa2
commit 5e80ef3562

View file

@ -95,7 +95,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
} }
function setPointerCapture(event: PointerEvent): void { function setPointerCapture(event: PointerEvent): void {
if (event.pointerId !== 1) { if (!active || event.pointerId !== 1) {
return; return;
} }