mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 18:18:18 +00:00
Fix requested changes
This commit is contained in:
parent
8f8c9a20c0
commit
79c503ec0f
|
@ -1717,13 +1717,13 @@ int CMenus::Render()
|
||||||
|
|
||||||
Box.HSplitBottom(160.f, &Box, &Part);
|
Box.HSplitBottom(160.f, &Box, &Part);
|
||||||
|
|
||||||
Part.VSplitLeft(60.0f, 0, &TextBox);
|
Part.VSplitLeft(60.0f, nullptr, &TextBox);
|
||||||
TextBox.VSplitLeft(20.0f, 0, &TextBox);
|
TextBox.VSplitLeft(20.0f, nullptr, &TextBox);
|
||||||
TextBox.VSplitRight(60.0f, &TextBox, 0);
|
TextBox.VSplitRight(60.0f, &TextBox, nullptr);
|
||||||
|
|
||||||
str_format(aBuf, sizeof(aBuf), Localize("Video was saved to '%s'"), aFilePath);
|
str_format(aBuf, sizeof(aBuf), Localize("Video was saved to '%s'"), aFilePath);
|
||||||
|
|
||||||
UI()->DoLabel(&TextBox, aBuf, 18.0f, TEXTALIGN_LEFT);
|
UI()->DoLabel(&TextBox, aBuf, 18.0f, TEXTALIGN_TL);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
else if(m_Popup == POPUP_FIRST_LAUNCH)
|
else if(m_Popup == POPUP_FIRST_LAUNCH)
|
||||||
|
|
|
@ -987,7 +987,7 @@ void CMenus::RenderDemoList(CUIRect MainView)
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(CONF_VIDEORECORDER)
|
#if defined(CONF_VIDEORECORDER)
|
||||||
if(m_DemoRenderInput.GetLength() > 0)
|
if(!m_DemoRenderInput.IsEmpty())
|
||||||
{
|
{
|
||||||
m_Popup = POPUP_RENDER_DONE;
|
m_Popup = POPUP_RENDER_DONE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue