Browse Source

polish[#1628]: Lint fix

1628-quickslot-cooldown
Vildravn 3 years ago
parent
commit
cc612a4e3e
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/client/ui/templates/hud/hud.js

+ 1
- 2
src/client/ui/templates/hud/hud.js View File

@@ -107,9 +107,8 @@ define([

let elapsed = quickItem.cdMax - quickItem.cd;
let width = 1 - (elapsed / quickItem.cdMax);
if (width <= 0) {
if (width <= 0)
width = 0;
}

width = Math.ceil((width * 100) / 4) * 4;



Loading…
Cancel
Save