Hide verb expansion indicators on debug (#22415)
I forget if it's actually going to popup or not.
This commit is contained in:
@@ -33,11 +33,14 @@ namespace Content.Client.Verbs.UI
|
|||||||
|
|
||||||
Label.SetOnlyStyleClass(verb.TextStyleClass);
|
Label.SetOnlyStyleClass(verb.TextStyleClass);
|
||||||
|
|
||||||
|
// There are no confirmations in debug fam.
|
||||||
|
#if !DEBUG
|
||||||
if (verb.ConfirmationPopup)
|
if (verb.ConfirmationPopup)
|
||||||
{
|
{
|
||||||
ExpansionIndicator.SetOnlyStyleClass(StyleClassVerbMenuConfirmationTexture);
|
ExpansionIndicator.SetOnlyStyleClass(StyleClassVerbMenuConfirmationTexture);
|
||||||
ExpansionIndicator.Visible = true;
|
ExpansionIndicator.Visible = true;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
var entManager = IoCManager.Resolve<IEntityManager>();
|
var entManager = IoCManager.Resolve<IEntityManager>();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user