- Joined
- Jun 22, 2017
- Messages
- 726
- Reaction score
- 2,107
- First Language
- Norwegian
- Primarily Uses
- RMMZ
Window_Selectable.prototype.drawBackgroundRect = function(rect) {
const c1 = ColorManager.itemBackColor1();
const c2 = ColorManager.itemBackColor2();
const x = rect.x;
const y = rect.y;
const w = rect.width;
const h = rect.height;
this.contentsBack.gradientFillRect(x, y, w, h, c1, c2, true);
this.contentsBack.strokeRect(x, y, w, h, c1);
};
ColorManager.itemBackColor1 = function() {
return "rgba(32, 32, 32, 0.5)";
};
ColorManager.itemBackColor2 = function() {
return "rgba(0, 0, 0, 0.5)";
};