Skip to content

Commit

Permalink
Update commonSequences.js
Browse files Browse the repository at this point in the history
  • Loading branch information
MrVauxs authored Aug 22, 2024
1 parent 7e2693d commit 76e367b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/system-handlers/commonSequences.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 76e367b

Please sign in to comment.