Format the scope opacity changes

Co-authored-by: Manjunath Paparaju <[email protected]>
This commit is contained in:
Sameh KhamisandManjunath Paparaju committed 2026-11-14 15:31:25 -08:00
1 parent 8379a0ffd3
commit 1dcc025832
5 files changed
+24 -7

No files matched your search

+6 -1
View File
@@ -781,7 +781,12 @@ export function normalizeShareViewState(input = {}) {
state.scopeFeatherPct = finite(source.scopeFeatherPct)
? clampScopeFeatherPct(Number(source.scopeFeatherPct))
: d.scopeFeatherPct;
state.scopeOpacityPct = intOr(source.scopeOpacityPct, d.scopeOpacityPct, 0, 100);
state.scopeOpacityPct = intOr(
source.scopeOpacityPct,
d.scopeOpacityPct,
0,
100,
);
state.scopeTerminusPct = intOr(
source.scopeTerminusPct,
null,