Working on main menu and tutorials

This commit is contained in:
Vladislav Khorev committed 2026-06-09 17:20:03 +03:00
1 parent 0ed7021e90
commit 80133aa8c8
9 files changed
+43 -211

No files matched your search

+12 -1
View File
@@ -11,6 +11,8 @@ namespace ZL {
using json = nlohmann::json;
extern float x;
static int countWrappedLines(const std::string& text) {
if (text.empty()) return 0;
@@ -2170,7 +2172,16 @@ namespace ZL {
}
else
{
node->localX = node->width * 0.5-110 - (UiChatBubble::MAX_WIDTH - node->width);// -(425.f - node->width);
/*if (node->width == UiChatBubble::MAX_WIDTH)
{
node->localX = node->width * 0.5 - 110 - (UiChatBubble::MAX_WIDTH - node->width);// -(425.f - node->width);
}
else
{*/
//node->localX = node->width * 0.5 - 110;
//node->localX = - 110 +x;
node->localX = 210 - node->width * 0.5;
//}
}
//430
//1280