Remove redundant condition

Part of #4097
This commit is contained in:
Daniel Imms
2023-08-14 05:47:25 -07:00
parent 7ae6febedc
commit 09fc798e80
@@ -431,7 +431,7 @@ export class DomRendererRowFactory {
} }
// exclude conditions for cell merging - never merge these // exclude conditions for cell merging - never merge these
if (!isCursorCell && !isJoined && !isDecorated && isInSelection === oldIsInSelection) { if (!isCursorCell && !isJoined && !isDecorated) {
cellAmount++; cellAmount++;
} else { } else {
charElement.textContent = text; charElement.textContent = text;