Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
mcnuttandrew committed Jan 11, 2024
1 parent 242d572 commit 7205904
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 2 additions & 0 deletions src/content-modules/ComparePal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
width={450}
onColorsChange={() => {}}
onFocusedColorsChange={() => {}}
startDragging={() => {}}
stopDragging={() => {}}
/>
{/if}
</div>
1 change: 0 additions & 1 deletion src/lib/Color.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export class Color {
}
const newHex = this.toColorIO().to("srgb").toString({ format: "hex" });
// const oldHex = this.chromaBind(...this.toChannels()).hex();
// console.log(newHex, oldHex);
// return this.chromaBind(...this.toChannels()).hex();
hexCache.set(str, newHex);
return newHex;
Expand Down
6 changes: 0 additions & 6 deletions src/stores/color-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,6 @@ function createStore() {
);
const persistUpdate = (updateFunc: (old: StoreData) => StoreData) =>
update((oldStore) => {
console.log(
"persist update",
pausePersistance,
undoStack.length,
redoStack.length
);
if (pausePersistance) {
lastStore = oldStore;
return updateFunc(oldStore);
Expand Down

0 comments on commit 7205904

Please sign in to comment.