|
|
@@ -407,7 +407,7 @@ const pmShare = (function () {
|
|
|
}
|
|
|
//互动单元格
|
|
|
function getInteractionCell() {
|
|
|
- let workImg = document.getElementById('work_pic'),
|
|
|
+ let editImg = document.getElementById('edit_pic'),
|
|
|
workImgWidth = 13,
|
|
|
workImgHeight = 13,
|
|
|
copyImg = document.getElementById('copy_pic'),
|
|
|
@@ -433,10 +433,11 @@ const pmShare = (function () {
|
|
|
let acStyle = options.sheet.getActualStyle(options.row, options.col),
|
|
|
zoom = options.sheet.zoom();
|
|
|
let textLength = this.getAutoFitWidth(value, text, acStyle, zoom, {sheet: options.sheet, row: options.row, col: options.col, sheetArea: GC.Spread.Sheets.SheetArea.viewport});
|
|
|
- let nowX = Math.floor(x) + textLength + 3,
|
|
|
+ const imgIndent = 5;
|
|
|
+ let nowX = Math.floor(x) + textLength + imgIndent,
|
|
|
nowY = Math.floor((y + (y + h)) / 2) - 7;
|
|
|
if (node.data.allowCooperate) {
|
|
|
- ctx.drawImage(workImg, nowX, nowY, workImgWidth, workImgHeight);
|
|
|
+ ctx.drawImage(editImg, nowX, nowY, workImgWidth, workImgHeight);
|
|
|
nowX += workImgWidth;
|
|
|
}
|
|
|
if (node.data.allowCopy) {
|