Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo Fernández Serrata committed Mar 5, 2024
1 parent 63ca44d commit 4848713
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,9 @@ const RGBDR_anim = (() => {
const df = anim.settings.dim_factor

/** u8 that specifies how much to dim the canvas */
const dim = Math.round(Math.min((now - last_dim) * Math.abs(df), 0xff))
const dim = Math.round(
Math.min((now - last_dim) * Math.abs(df), 0xff)
)

// performance [0]...
if (dim) {
Expand Down

0 comments on commit 4848713

Please sign in to comment.