mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
added tool tip for value selector button in the editor
This commit is contained in:
parent
3797eba179
commit
9753f62d46
|
@ -496,6 +496,7 @@ int CEditor::UiDoValueSelector(void *pId, CUIRect *r, const char *pLabel, int Cu
|
|||
Current = Max;
|
||||
}
|
||||
}
|
||||
m_pTooltip = Localize("Use left mouse button to drag and the change the value. Hold shift to be more precise.");
|
||||
}
|
||||
else if(UI()->HotItem() == pId)
|
||||
{
|
||||
|
@ -505,6 +506,7 @@ int CEditor::UiDoValueSelector(void *pId, CUIRect *r, const char *pLabel, int Cu
|
|||
s_Value = 0;
|
||||
UI()->SetActiveItem(pId);
|
||||
}
|
||||
m_pTooltip = Localize("Use left mouse button to drag and the change the value. Hold shift to be more precise.");
|
||||
}
|
||||
|
||||
if(Inside)
|
||||
|
|
Loading…
Reference in a new issue