Working on main menu and tutorials
This commit is contained in:
1 parent
0ed7021e90
commit
80133aa8c8
9 files changed
+43
-211
No files matched your search
+12
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user