Skip to content

Commit

Permalink
remove slider debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerwyn committed Dec 29, 2024
1 parent baae55f commit eb5d8d8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion dist/universal-remote-card.min.js

Large diffs are not rendered by default.

7 changes: 0 additions & 7 deletions src/classes/remote-slider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,13 +165,6 @@ export class RemoteSlider extends BaseRemoteElement {
this.initialY != undefined
) {
super.onMove(e);
console.log(
`X: ${Math.abs((this.currentX ?? 0) - (this.initialX ?? 0))}`,
);
console.log(
`Y: ${Math.abs((this.currentY ?? 0) - (this.initialY ?? 0))}`,
);

const sensitivity = 50;
if (
Math.abs((this.currentX ?? 0) - (this.initialX ?? 0)) <
Expand Down

0 comments on commit eb5d8d8

Please sign in to comment.