Added containing package name to asset tooltip
This commit is contained in:
committed by
Matthias Mailänder
parent
8d20487cb6
commit
001efc9409
@@ -416,6 +416,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
|||||||
|
|
||||||
var label = item.Get<LabelWithTooltipWidget>("TITLE");
|
var label = item.Get<LabelWithTooltipWidget>("TITLE");
|
||||||
WidgetUtils.TruncateLabelToTooltip(label, filepath);
|
WidgetUtils.TruncateLabelToTooltip(label, filepath);
|
||||||
|
label.GetTooltipText = () => $"{filepath}\n{package.Name}";
|
||||||
|
|
||||||
item.IsVisible = () =>
|
item.IsVisible = () =>
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user