MZ How to erase black rectangle in the main menu?(Visustella)

Hey guys,I used the plugin named Visustella CoreEngine and MainMenu Core.
I wonder how to erase the black rectangle in the main menu ?
It seems that there are JS code highly related in the setting,but I am an art worker so I have no code knowledge at all!😩
d973843f7d741b1c2e52a2d892eb6cd1.png


I tried to delete the code of dark rectangle but something wrong happened like this.Someone told me to set the opacity to 0 but I don't know how to do.
4F6FB3DEF728F81431755F6CCA93936A.png

Thanks for any advice!😊
If you need the code about this I will try to paste it below.

// Declare Constants
const actor = arguments[0];
const rect = arguments[1];

// Make Constants
const lineHeight = this.lineHeight();
const gaugeLineHeight = this.gaugeLineHeight();
const totalHeight = (lineHeight * 4.5) + (gaugeLineHeight * ($dataSystem.optDisplayTp ? 3 : 2));

// Draw Actor Graphic
const gw = rect.width;
const gh = rect.height;
const gx = rect.x;
const gy = rect.y;
this.drawItemActorMenuImage(actor, gx, gy, gw, gh);

// Draw Dark Rectangle
let sx = rect.x;
let sy = Math.max(rect.y, rect.y + (rect.height - totalHeight));
let sw = rect.width;
let sh = rect.y + rect.height - sy;
this.contents.fillRect(sx+1, sy+lineHeight/2, sw-2, sh-1-lineHeight/2, ColorManager.dimColor1());
this.contents.gradientFillRect(sx+1, sy-lineHeight/2, sw-2, lineHeight, ColorManager.dimColor2(), ColorManager.dimColor1(), true);

// Draw Actor Level
sx = rect.x + Math.round((rect.width - 128) / 2);
sy += lineHeight;
this.drawActorLevel(actor, sx, sy);

// Draw Actor Icons
sx = rect.x + Math.round((rect.width - 128) / 2);
sy += lineHeight;
this.drawActorIcons(actor, sx, sy);

// Draw Gauges
sx = rect.x + Math.round((rect.width - 128) / 2);
sy += lineHeight;
this.placeGauge(actor, "hp", sx, sy);
sy += gaugeLineHeight;
if ($dataSystem.optDisplayTp) {
this.placeGauge(actor, "tp", sx, sy);
}
The parts you need to remove are these 3 lines:
JavaScript:
this.contents.fillRect(sx+1, sy+lineHeight/2, sw-2, sh-1-lineHeight/2, ColorManager.dimColor1());
this.contents.gradientFillRect(sx+1, sy-lineHeight/2, sw-2, lineHeight, ColorManager.dimColor2(),
ColorManager.dimColor1(), true);
or the entire dark rectangle can be ruled out as it target the rectangle there.

so you don't need that part, use /* on start and */ on end to remove the
dark rectangle code and it should be gone.
The parts you need to remove are these 3 lines:
JavaScript:
this.contents.fillRect(sx+1, sy+lineHeight/2, sw-2, sh-1-lineHeight/2, ColorManager.dimColor1());
this.contents.gradientFillRect(sx+1, sy-lineHeight/2, sw-2, lineHeight, ColorManager.dimColor2(),
ColorManager.dimColor1(), true);
It works!Thank you so much!
This thread was moved from RPG Maker MZ Support to JavaScript/Plugin Support.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-erase-black-rectangle-in-the-main-menu-visustella.174723/