Working on UI, navigation, minor fixing

This commit is contained in:
Vladislav Khorev committed 2026-05-31 18:33:39 +03:00
1 parent a0550daf4b
commit 03681bedaf
38 files changed
+8303 -772

No files matched your search

+1 -1
View File
@@ -216,7 +216,7 @@ void DialogueOverlay::drawDialogue(Renderer& renderer, const PresentationModel&
}
const float bodyTextScale = 1.0f;
const float bodyMaxWidthPx = W - nameX - 48.f-x;
const float bodyMaxWidthPx = W - nameX - 48.f-x-60.f;
const std::string wrappedBody = wrapTextToWidth(model.visibleText, *bodyRenderer, bodyMaxWidthPx, bodyTextScale);
bodyRenderer->drawText(wrappedBody, bodyX, bodyY, bodyTextScale, false, { 1.0f, 1.0f, 1.0f, 1.0f });