diff options
author | srichman333 <sarah_n_richman@brown.edu> | 2023-06-22 10:17:30 -0400 |
---|---|---|
committer | srichman333 <sarah_n_richman@brown.edu> | 2023-06-22 10:17:30 -0400 |
commit | 85522d4755caa68f1aa6083756d32854ab5a3008 (patch) | |
tree | c9ce494d82464697f444072382f69f6674bc0fdc /src | |
parent | 763b77af1127f6dd0313d4d5e13cbb6f7e6be211 (diff) |
fixed resize to be layout acl rather than regular
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/DocumentDecorations.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index db164a33a..19ab98cea 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -495,7 +495,7 @@ const dragDocView = SelectionManager.Views()[0]; onPointerMove = (e: PointerEvent, down: number[], move: number[]): boolean => { const first = SelectionManager.Views()[0]; - const effectiveAcl = GetEffectiveAcl(first.rootDoc); + const effectiveAcl = GetEffectiveLayoutAcl(first.rootDoc); if (!(effectiveAcl == AclAdmin || effectiveAcl == AclEdit || effectiveAcl == AclAugment)) return false; if (!first) return false; let thisPt = { x: e.clientX - this._offX, y: e.clientY - this._offY }; |