From 57d11373b1b71ca37de103bc6dbcc8e522f11727 Mon Sep 17 00:00:00 2001 From: David Figatner Date: Mon, 8 May 2023 09:21:05 -0700 Subject: [PATCH] fix: changing settings properly rerenders cells (#475) --- src/debugFlags.ts | 4 ++-- src/gridGL/pixiApp/PixiAppSettings.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/debugFlags.ts b/src/debugFlags.ts index ed31f89934..add0e913df 100644 --- a/src/debugFlags.ts +++ b/src/debugFlags.ts @@ -65,6 +65,6 @@ export const debugShowCellsForDirtyQuadrants = debug && false; // Hooks // -------- -export const debugShowFileIO = debug && true; +export const debugShowFileIO = debug && false; -export const debugGridSettings = debug && true; +export const debugGridSettings = debug && false; diff --git a/src/gridGL/pixiApp/PixiAppSettings.ts b/src/gridGL/pixiApp/PixiAppSettings.ts index 49ebc7f9af..026c074d1b 100644 --- a/src/gridGL/pixiApp/PixiAppSettings.ts +++ b/src/gridGL/pixiApp/PixiAppSettings.ts @@ -64,6 +64,7 @@ export class PixiAppSettings { this.setEditorInteractionState = setEditorInteractionState; this.app.headings.dirty = true; this.app.cursor.dirty = true; + this.app.cells.dirty = true; } get showGridLines(): boolean {