Fix tooltip having editor references.
This commit is contained in:
@@ -331,6 +331,7 @@ namespace FlaxEditor.Options
|
||||
|
||||
SharedTooltip = new Tooltip(),
|
||||
};
|
||||
style.SharedTooltip.HorizontalTextAlignment = Editor.Instance.Options.Options.Interface.TooltipTextAlignment;
|
||||
style.DragWindow = style.BackgroundSelected * 0.7f;
|
||||
return style;
|
||||
}
|
||||
@@ -386,6 +387,7 @@ namespace FlaxEditor.Options
|
||||
|
||||
SharedTooltip = new Tooltip(),
|
||||
};
|
||||
style.SharedTooltip.HorizontalTextAlignment = Editor.Instance.Options.Options.Interface.TooltipTextAlignment;
|
||||
return style;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user