From dd6c31ab8e29e62daf8281a246af1eb502b812ec Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Wed, 31 Jan 2024 12:33:04 +0100 Subject: [PATCH] Open github commits after unlocking animation (#41) * Open github commits after unlocking animation * Wait for the animation to end before opening Hyprland commits --- src/routes/Hypractive.svelte | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/routes/Hypractive.svelte b/src/routes/Hypractive.svelte index f66d183..7ac6a3d 100755 --- a/src/routes/Hypractive.svelte +++ b/src/routes/Hypractive.svelte @@ -87,6 +87,7 @@ /** @type {HTMLDivElement} */ let containerElement + let isAnimationComplete = false const vaxrySize = 220 const contextId = Symbol('hypractive context') @@ -98,12 +99,16 @@ function onClick() { click$.next(1) } + + function onClickUnlocked() { + window.open('https://github.com/hyprwm/Hyprland/commits/main/', '_blank') + }