mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix missing renamed shadowed variable
This commit is contained in:
parent
0e003f54ee
commit
cd1a34c411
|
@ -3101,7 +3101,7 @@ int CEditor::DoProperties(CUIRect *pToolBox, CProperty *pProps, int *pIDs, int *
|
||||||
static int s_ColorPicker, s_ColorPickerID;
|
static int s_ColorPicker, s_ColorPickerID;
|
||||||
if(DoButton_ColorPicker(&s_ColorPicker, &ColorBox, &ColorPick))
|
if(DoButton_ColorPicker(&s_ColorPicker, &ColorBox, &ColorPick))
|
||||||
{
|
{
|
||||||
ms_PickerColor = color_cast<ColorHSVA>(Color);
|
ms_PickerColor = color_cast<ColorHSVA>(ColorPick);
|
||||||
UiInvokePopupMenu(&s_ColorPickerID, 0, UI()->MouseX(), UI()->MouseY(), 180, 150, PopupColorPicker);
|
UiInvokePopupMenu(&s_ColorPickerID, 0, UI()->MouseX(), UI()->MouseY(), 180, 150, PopupColorPicker);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue