fix:微调存读档背景色
This commit is contained in:
parent
507465de0e
commit
b1f563baf1
@ -3075,9 +3075,12 @@ ui.prototype._drawSLPanel_draw = function (page, max_page) {
|
||||
}
|
||||
|
||||
ui.prototype._drawSLPanel_drawBackground = function () {
|
||||
let backGroundStyle = 'black';
|
||||
if (core.status.event.id === 'save') backGroundStyle = 'rgb(75, 0, 130)';
|
||||
else if (core.status.event.id === 'load') backGroundStyle = 'rgb(173, 216, 230)';
|
||||
core.clearMap('ui');
|
||||
core.setAlpha('ui', 0.85);
|
||||
core.fillRect('ui', 0, 0, this.PIXEL, this.PIXEL, '#000000');//可改成背景图图
|
||||
core.fillRect('ui', 0, 0, this.PIXEL, this.PIXEL, backGroundStyle); //可改成背景图
|
||||
core.setAlpha('ui', 1);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user