mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-15 07:21:50 +08:00
fix firefox bug
This commit is contained in:
parent
65f83e58d2
commit
05608e341d
@ -1,8 +1,6 @@
|
|||||||
# Taiko no Tatsujin Web
|
# Taiko no Tatsujin Web
|
||||||
A web version of Taiko no Tatsujin
|
A web version of Taiko no Tatsujin
|
||||||
|
|
||||||
Currently uploaded to
|
Running instance: https://taiko.bui.pm
|
||||||
https://taiko.bui.pm
|
|
||||||
|
|
||||||
Still in developement
|
Still in developement. Works best with Chrome.
|
||||||
Only works with Chrome.
|
|
||||||
|
@ -191,7 +191,8 @@ function View(controller, bg, title, diff){
|
|||||||
var barColour = document.getElementById('hp-bar-colour');
|
var barColour = document.getElementById('hp-bar-colour');
|
||||||
|
|
||||||
_ctx.drawImage(barBG, _HPBarX, _HPBarY, _HPBarW, _HPBarH);
|
_ctx.drawImage(barBG, _HPBarX, _HPBarY, _HPBarW, _HPBarH);
|
||||||
_ctx.drawImage(barColour, 0, 0, _HPBarColWImage, 40, _HPbarColX, _HPbarColY, _HPBarColWCanvas, _HPBarColH);
|
console.log(_HPBarColWImage);
|
||||||
|
_ctx.drawImage(barColour, 0, 0, Math.max(1, Math.floor(_HPBarColWImage)), 40, _HPbarColX, _HPbarColY, _HPBarColWCanvas, _HPBarColH);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user