diff --git a/_server/editor_uievent.js b/_server/editor_uievent.js index 081ca979..9338e4a9 100644 --- a/_server/editor_uievent.js +++ b/_server/editor_uievent.js @@ -516,14 +516,13 @@ editor_uievent_wrapper = function (editor) { canvas.style.position = 'relative'; canvas.style.marginLeft = "-10px"; canvas.style.marginTop = '5px'; - canvas.style.width = "100%" canvas.width = canvas.height = core.__PIXELS__; uievent.values.dom = canvas; uievent.values.ctx = canvas.getContext('2d'); } span.appendChild(uievent.values.dom); core.clearMap(uievent.values.ctx); - core.drawThumbnail(floorId, null, {ctx: uievent.values.ctx}); + core.drawThumbnail(floorId, null, {ctx: uievent.values.ctx, all: true}); } else { button.innerText = '预览'; span.style.display = 'none'; @@ -973,9 +972,9 @@ editor_uievent_wrapper = function (editor) { html += "属性设置:
" html += "名称: 生命: 上限: 攻击: 防御: 护盾: "; html += "魔力: 上限: 金币: 经验: 等级: "; - html += "
当前道具ID列表(以逗号分隔):
"; - html += "
当前装备ID(以逗号分隔):
"; - html += "
当前变量值(JSON格式):
"; + html += "
当前道具ID(以逗号分隔):
"; + html += "
当前装备ID(以逗号分隔):
"; + html += "
当前变量值(JSON格式):
"; html += "

" uievent.elements.extraBody.innerHTML = html;