Skip to content

Commit

Permalink
Code: improved first-to see sorting order option: L > H > S
Browse files Browse the repository at this point in the history
  • Loading branch information
SAKryukov committed Nov 8, 2023
1 parent 0644384 commit ce4aaf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/js/ui/sortingOrder.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const sortingOrder = (() => {


const setup = (selectElement, action) => { // action(sort, reverse)
const allPermutations = permute([2, 1, 0]); //sic! lightness first
const allPermutations = permute([2, 0, 1]); //sic! lightness first
const map = new Map();
const hslComponents = [];
let index;
Expand Down

0 comments on commit ce4aaf1

Please sign in to comment.