=> 15263b2a311c32e7c7d8efe460a0f86e605928aa
[1mdiff --git a/src/ui/text.c b/src/ui/text.c[m [1mindex ac2766a3..615cb176 100644[m [1m--- a/src/ui/text.c[m [1m+++ b/src/ui/text.c[m [36m@@ -369,7 +369,7 @@[m [mstatic void initCache_Text_(iText *d) {[m init_Array(&d->cacheRows, sizeof(iCacheRow));[m const int textSize = d->contentFontSize * fontSize_UI;[m iAssert(textSize > 0);[m [31m- const iInt2 cacheDims = init_I2(16, 80);[m [32m+[m[32m const iInt2 cacheDims = init_I2(16, 40);[m d->cacheSize = mul_I2(cacheDims, init1_I2(iMax(textSize, fontSize_UI)));[m SDL_RendererInfo renderInfo;[m SDL_GetRendererInfo(d->render, &renderInfo);[m [1mdiff --git a/src/ui/window.c b/src/ui/window.c[m [1mindex e1bb1c0b..6d358576 100644[m [1m--- a/src/ui/window.c[m [1m+++ b/src/ui/window.c[m [36m@@ -960,7 +960,7 @@[m [mvoid draw_Window(iWindow *d) {[m #if 0[m /* Text cache debugging. */ {[m SDL_Texture *cache = glyphCache_Text();[m [31m- SDL_Rect rect = { d->root->rect.size.x - 640, 0, 640, 5 * 640 };[m [32m+[m[32m SDL_Rect rect = { d->root->rect.size.x - 640, 0, 640, 2.5 * 640 };[m SDL_SetRenderDrawColor(d->render, 0, 0, 0, 255);[m SDL_RenderFillRect(d->render, &rect);[m SDL_RenderCopy(d->render, glyphCache_Text(), NULL, &rect);[m
text/gemini; charset=utf-8
This content has been proxied by September (ba2dc).