Read scope opacity for share links from the mask, as feather is

The share state took the opacity the slider last showed, which a
show-only update can leave apart from the mask; it now reads the mask
itself, as the feather does. The test reset also restores full opacity.

Co-authored-by: Manjunath Paparaju <[email protected]>
This commit is contained in:
Sameh KhamisandManjunath Paparaju committed 2026-11-14 15:31:33 -08:00
1 parent 5383b470ee
commit 471151910d
3 files changed
+5 -1

No files matched your search

+1
View File
@@ -591,6 +591,7 @@ export function _resetScopeMaskForTest() {
_viewer = null;
_enabled = true;
_featherRatio = SCOPE_FEATHER_RATIO_DEFAULT;
_maskOpacity = 1;
_terminusAlpha = SCOPE_OUTSIDE_ALPHA;
_terminusOverride = null;
_terminusRepaints = 0;