fix:微调存读档背景色

This commit is contained in:
ShakeFlower 2025-05-23 11:29:03 +08:00
parent 507465de0e
commit b1f563baf1

View File

@ -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);
}