Skip to content

Commit

Permalink
Adding debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgperry committed Aug 14, 2024
1 parent a06457c commit f928796
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,13 @@ export class MainThreadAnimation<
finalKeyframe: T
) => this.onKeyframesResolved(resolvedKeyframes, finalKeyframe)

const urlParams = new URLSearchParams(window.location.search)
const logId = urlParams.get("log-id")

if (
element &&
element.getProps()["data-framer-appear-id"] === "iok7gr"
logId &&
element.getProps()["data-framer-appear-id"] === logId
) {
this.log = true
}
Expand Down

0 comments on commit f928796

Please sign in to comment.