Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] sheetview: Avoid useless cleanViewport
cleanViewports is called at every command handling in `SheetViewPlugin` but it only makes sense do to so for commands that could actually impact the internal viewport mapping of the plugin. Namely, UNDO/REDO/DELETE_SHEET commands could have an impact on that mapping. This revision limits the calls to cleanViewports for those specific commands. When deleting a row on a sheet of 26*10_000 cells, this spares around 100ms of computation. closes #4935 Task: 4084860 X-original-commit: 2f97267 Signed-off-by: Lucas Lefèvre (lul) <[email protected]> Signed-off-by: Rémi Rahir (rar) <[email protected]>
- Loading branch information