Skip to content

Commit

Permalink
fix ci?
Browse files Browse the repository at this point in the history
  • Loading branch information
Swiftb0y committed Dec 31, 2024
1 parent 66e498d commit a7e5fd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions res/controllers/Reloop-Ready-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class ReloopReady {
return (r << 16) | (g << 8) | b;
}
static dimColor(color) {
return color & 0b0011_1111;
return color & 0b00111111;
}
static clamp(value, min, max) {
return Math.max(min, Math.min(max, value));
Expand Down Expand Up @@ -248,7 +248,7 @@ ReloopReady.noopInputHandler = (_channel, _control, _value, _status, _group) =>

(() => {
const fullColorToMidiColorMap = {};
for (let midiColor = 0x00; midiColor <= 0b111_1111; ++midiColor) {
for (let midiColor = 0x00; midiColor <= 0b1111111; ++midiColor) {
fullColorToMidiColorMap[ReloopReady.midiToFullColor(midiColor)] = midiColor;
}

Expand Down

0 comments on commit a7e5fd0

Please sign in to comment.