Skip to content

Commit

Permalink
[se] Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
GoshaZotov committed Oct 12, 2023
1 parent 97b963d commit fb97f7d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cell/view/WorksheetView.js
Original file line number Diff line number Diff line change
Expand Up @@ -6800,7 +6800,7 @@
let searchSpecificRange = this.handlers.trigger('selectSearchingResults') && this.workbook.SearchEngine && this.workbook.SearchEngine.getSpecificRange();
if (searchSpecificRange) {
this._drawElements(this._drawSelectionElement, searchSpecificRange,
AscCommonExcel.selectionLineType.DashThick, new CColor(12, 15, 17));
AscCommonExcel.selectionLineType.DashThick, window['AscCommonExcel'].c_oAscVisibleAreaOleEditorBorderColor);
}

this.drawTraceDependents();
Expand Down Expand Up @@ -7163,7 +7163,6 @@
//TODO пересмотреть! возможно стоит очищать частями в зависимости от print_area
//print lines view
let isTraceDependents = this.traceDependentsManager.isHaveData();
if(this.viewPrintLines || this.copyCutRange || (this.isPageBreakPreview(true) && this.pagesModeData) || isTraceDependents) {
let searchSpecificRange = this.handlers.trigger('selectSearchingResults') && this.workbook.SearchEngine && this.workbook.SearchEngine.isSpecificRange();
if(this.viewPrintLines || this.copyCutRange || (this.isPageBreakPreview(true) && this.pagesModeData) || searchSpecificRange || isTraceDependents) {
this.overlayCtx.clear();
Expand Down

0 comments on commit fb97f7d

Please sign in to comment.