This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
gitlord
/
isleward
mirror of
https://gitlab.com/Isleward/isleward.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
203
Wiki
Activity
Browse Source
polish[
#1628
]: Lint fix
1628-quickslot-cooldown
Vildravn
3 years ago
parent
eeffafef5d
commit
cc612a4e3e
1 changed files
with
1 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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;
Write
Preview
Loading…
Cancel
Save