Skip to content

Commit

Permalink
Simplify code
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitrySharabin committed May 17, 2024
1 parent 168cc69 commit 9d9c296
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/channel-slider/channel-slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,7 @@ export default class ChannelSlider extends NudeElement {
return this.defaultColor.get(this.channel);
}
catch {
let channel = Object.keys(this.space.coords)[0];
return this.defaultColor.get(channel);
return this.defaultColor.coords[0];
}
},
reflect: {
Expand Down

0 comments on commit 9d9c296

Please sign in to comment.