mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-14 23:11:51 +08:00
fix firefox bug
This commit is contained in:
parent
65f83e58d2
commit
05608e341d
@ -1,8 +1,6 @@
|
||||
# Taiko no Tatsujin Web
|
||||
A web version of Taiko no Tatsujin
|
||||
|
||||
Currently uploaded to
|
||||
https://taiko.bui.pm
|
||||
Running instance: https://taiko.bui.pm
|
||||
|
||||
Still in developement
|
||||
Only works with Chrome.
|
||||
Still in developement. Works best with Chrome.
|
||||
|
@ -191,7 +191,8 @@ function View(controller, bg, title, diff){
|
||||
var barColour = document.getElementById('hp-bar-colour');
|
||||
|
||||
_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