mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
Do not allow for resizing when in constrained mode
This commit is contained in:
parent
4142fa2aa2
commit
5e80ef3562
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue