From 76e367b58130c55b2f5fbe255553ff4d2d3c6fc4 Mon Sep 17 00:00:00 2001 From: MrVauxs Date: Thu, 22 Aug 2024 22:57:48 +0200 Subject: [PATCH] Update commonSequences.js --- src/system-handlers/commonSequences.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system-handlers/commonSequences.js b/src/system-handlers/commonSequences.js index 137fa0a7..37b8404f 100644 --- a/src/system-handlers/commonSequences.js +++ b/src/system-handlers/commonSequences.js @@ -17,7 +17,7 @@ export function sourceEffect(sourceFX, seq, handler) { if (options.elevation === 0) { thisSeq.belowTokens(true) } else { - thisSeq.elevation(handler.elevation(currentTarget, options.isAbsolute, options.elevation), { absolute: options.isAbsolute }) + thisSeq.elevation(options.isAbsolute ? options.elevation : options.elevation - 1, { absolute: options.isAbsolute }) } if (options.tint) { thisSeq.tint(options.tintColor)