mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Decrease buffer size
This commit is contained in:
parent
385fa4d36c
commit
b997fe97bc
|
@ -4884,7 +4884,7 @@ void CEditor::RenderEnvelopeEditor(CUIRect View)
|
||||||
ToolBar.VSplitLeft(60.0f, &Shifter, &ToolBar);
|
ToolBar.VSplitLeft(60.0f, &Shifter, &ToolBar);
|
||||||
Shifter.VSplitRight(15.0f, &Shifter, &Inc);
|
Shifter.VSplitRight(15.0f, &Shifter, &Inc);
|
||||||
Shifter.VSplitLeft(15.0f, &Dec, &Shifter);
|
Shifter.VSplitLeft(15.0f, &Dec, &Shifter);
|
||||||
char aBuf[512];
|
char aBuf[64];
|
||||||
str_format(aBuf, sizeof(aBuf), "%d/%d", m_SelectedEnvelope + 1, (int)m_Map.m_vpEnvelopes.size());
|
str_format(aBuf, sizeof(aBuf), "%d/%d", m_SelectedEnvelope + 1, (int)m_Map.m_vpEnvelopes.size());
|
||||||
|
|
||||||
ColorRGBA EnvColor = ColorRGBA(1, 1, 1, 0.5f);
|
ColorRGBA EnvColor = ColorRGBA(1, 1, 1, 0.5f);
|
||||||
|
|
Loading…
Reference in a new issue