Fix recoil
This commit is contained in:
@@ -359,8 +359,7 @@ const Draw = (() => {
|
||||
|
||||
const tipEl = gun.querySelector(".tip")
|
||||
tipEl.classList.remove("recoil");
|
||||
setTimeout(() => tipEl.classList.add('recoil'), 0);
|
||||
|
||||
setTimeout(() => tipEl.classList.add('recoil'), 100);
|
||||
|
||||
const explosionEl = document.createElementNS(namespaceURIsvg, 'circle');
|
||||
explosionEl.classList.add('explosion');
|
||||
|
||||
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 54 KiB |
Reference in New Issue
Block a user