Re-upload atlas textures after page merges

This commit is contained in:
Victor Sych
2026-05-21 04:59:37 +02:00
parent dc726a2ae6
commit 3bcb57545e
3 changed files with 15 additions and 11 deletions
+4
View File
@@ -373,6 +373,10 @@ export class GlyphRenderer extends Disposable {
public setAtlas(atlas: ITextureAtlas): void {
this._atlas = atlas;
this.invalidateAtlasTextures();
}
public invalidateAtlasTextures(): void {
for (const glTexture of this._atlasTextures) {
glTexture.version = -1;
}