FIX: Avoid freezing the app on frozen columns or rows
This commit is contained in:
@@ -867,14 +867,18 @@ export default class WorksheetCanvas {
|
||||
frozenRows,
|
||||
frozenColumns,
|
||||
);
|
||||
if (frozenColumns > 0) {
|
||||
xFrozenEnd += this.getColumnWidth(
|
||||
this.model.getSelectedSheet(),
|
||||
frozenColumns,
|
||||
);
|
||||
}
|
||||
if (frozenRows > 0) {
|
||||
yFrozenEnd += this.getRowHeight(
|
||||
this.model.getSelectedSheet(),
|
||||
frozenRows,
|
||||
);
|
||||
}
|
||||
if (startRow <= frozenRows && endRow > frozenRows) {
|
||||
yEnd = Math.max(yEnd, yFrozenEnd);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user