修复编辑器大地图透明地面问题

This commit is contained in:
ckcz123 2020-07-03 12:53:48 +08:00
parent fe0e9a05d4
commit 1b4f8f3688

View File

@ -443,6 +443,8 @@ editor.prototype.drawPosSelection = function () {
editor.prototype._updateMap_bigmap = function () { editor.prototype._updateMap_bigmap = function () {
var bm=editor.dom.ebmCtx; var bm=editor.dom.ebmCtx;
bm.clearRect(0, 0, core.__PIXELS__, core.__PIXELS__); bm.clearRect(0, 0, core.__PIXELS__, core.__PIXELS__);
bm.fillStyle = '#000000';
bm.fillRect(0, 0, core.__PIXELS__, core.__PIXELS__);
core.drawThumbnail(editor.currentFloorId, core.status.thisMap.blocks, null, core.drawThumbnail(editor.currentFloorId, core.status.thisMap.blocks, null,
{ctx: bm, all: true}); {ctx: bm, all: true});
var width = editor.currentFloorData.width; var width = editor.currentFloorData.width;