Explorar el Código

polish[#1628]: Lint fix

1628-quickslot-cooldown
Vildravn hace 3 años
padre
commit
cc612a4e3e
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. +1
    -2
      src/client/ui/templates/hud/hud.js

+ 1
- 2
src/client/ui/templates/hud/hud.js Ver fichero

@@ -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;



Cargando…
Cancelar
Guardar