From 7a545b3a72064b7a263cd5e307388eade8643fb9 Mon Sep 17 00:00:00 2001 From: Jeff Moe Date: Sun, 25 Dec 2022 08:40:35 -0700 Subject: [PATCH] no need to export function. Ticker offset --- src/routes/+page.svelte | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 7bd2e2f..84a5f18 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -2,7 +2,7 @@ import Ticker from 'svelte-ticker'; import {HsvPicker} from 'svelte-color-picker'; -export function colorCallback(rgba) { +function colorCallback(rgba) { let r = rgba.detail.r; let g = rgba.detail.g; let b = rgba.detail.b; @@ -11,6 +11,7 @@ export function colorCallback(rgba) { let horizontal = document.querySelector(".horizontal"); horizontal.style.color = `rgb(${r},${g},${b})`; } +
@@ -23,7 +24,8 @@ export function colorCallback(rgba) {

- + + foooo foooo foooo foooo foooo foooo foooo foooo foooo foooo foooo foooo foooo foooo foooo foooo foooo foooo foooo barrrr barrrr barrrr barrrr barrrr barrrr barrrr barrrr barrrr barrrr barrrr barrrr barrrr barrrr barrrr barrrr barrrr barrrr barrrr