Fix Bug
This commit is contained in:
parent
52bb6a81dd
commit
13c208c491
@ -1195,7 +1195,9 @@ events.prototype.changeFloor = function (floorId, stair, heroLoc, time, callback
|
||||
|
||||
// 更改BGM
|
||||
if (core.isset(core.floors[floorId].bgm)) {
|
||||
core.playBgm(core.floors[floorId].bgm);
|
||||
var bgm = core.floors[floorId].bgm;
|
||||
if (bgm instanceof Array) bgm = bgm[0];
|
||||
core.playBgm(bgm);
|
||||
}
|
||||
|
||||
// 不存在事件时,更改画面色调
|
||||
|
||||
@ -529,7 +529,7 @@ ui.prototype.drawTextBox = function(content) {
|
||||
core.clearMap("ui", content_left, content_top - 18, validWidth, top + height - content_top + 10);
|
||||
core.setAlpha('ui', textAttribute.background[3]);
|
||||
core.setFillStyle('ui', core.arrayToRGB(textAttribute.background));
|
||||
core.fillRect("ui", content_left, content_top - 18, validWidth, top + height - content_top + 10);
|
||||
core.fillRect("ui", content_left, content_top - 18, validWidth, top + height - content_top + 11);
|
||||
|
||||
core.setAlpha('ui', textAttribute.text[3]);
|
||||
core.setFillStyle('ui', core.arrayToRGB(textAttribute.text));
|
||||
|
||||
BIN
project/images/hero - 副本.png
Normal file
BIN
project/images/hero - 副本.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 7.4 KiB |
Loading…
Reference in New Issue
Block a user