1 decade ago by Hareesun
I’m sure this won’t affect a lot of you, but for me most of my games have a different ig.game.clearColor.
If you add the below snippet to line 81 of impact / debug / maps-panel.js right before the “// draw the map” comment – you’ll have your custom clearColor behind the tiles in the mini-maps of the debug-panel.
Edit: This has been added to Impact 1.18a so I wouldn’t worry about adding this manually unless you don’t want to update for some reason.
If you add the below snippet to line 81 of impact / debug / maps-panel.js right before the “// draw the map” comment – you’ll have your custom clearColor behind the tiles in the mini-maps of the debug-panel.
ctx.fillStyle = ig.game.clearColor; ctx.fillRect(0, 0, w, h); // Sets the background of the mini-maps.
Edit: This has been added to Impact 1.18a so I wouldn’t worry about adding this manually unless you don’t want to update for some reason.