|
|
@@ -727,11 +727,11 @@ var TREE_SHEET_HELPER = {
|
|
|
ctx.clearRect(x, y, w, h);
|
|
|
}
|
|
|
GC.Spread.Sheets.CellTypes.Text.prototype.paint.apply(this, arguments);
|
|
|
- if(this.editingCell && hasData(options.row)){
|
|
|
+ /* if(this.editingCell && hasData(options.row)){ 2019-02-22 图片显示隐藏
|
|
|
let centerX = Math.floor(x) + w - 20;
|
|
|
let centerY = Math.floor((y + (y + h)) / 2);
|
|
|
ctx.drawImage(img, centerX + 3, centerY - 7, imgWidth,imgHeight);
|
|
|
- }
|
|
|
+ }*/
|
|
|
};
|
|
|
QuestionCellType.prototype.getHitInfo = function (x, y, cellStyle, cellRect, context) {
|
|
|
return {
|
|
|
@@ -745,8 +745,8 @@ var TREE_SHEET_HELPER = {
|
|
|
};
|
|
|
};
|
|
|
QuestionCellType.prototype.processMouseDown = function (hitinfo) {
|
|
|
- //弹出说明等窗口
|
|
|
- if(this.editingCell && this.editingCell.row === hitinfo.row){
|
|
|
+ //弹出说明等窗口 2019-02-22 图片显示隐藏,去掉弹出提示
|
|
|
+ /* if(this.editingCell && this.editingCell.row === hitinfo.row){
|
|
|
let offSet = hitinfo.cellRect.x + hitinfo.cellRect.width;
|
|
|
if(hitinfo.x < offSet && hitinfo.x > offSet - imgWidth){
|
|
|
if(mouseDownCallback && hasData(hitinfo.row)) {
|
|
|
@@ -754,7 +754,7 @@ var TREE_SHEET_HELPER = {
|
|
|
}
|
|
|
//$('#rationQuestionModal').modal('show');
|
|
|
}
|
|
|
- }
|
|
|
+ }*/
|
|
|
};
|
|
|
QuestionCellType.prototype.processMouseEnter = function (hitinfo){
|
|
|
if(this.editingCell==null){
|