Make departmental orders consoles print slips (#36944)
* Make departmental orders consoles print slips * feed back cycle
This commit is contained in:
committed by
GitHub
parent
f73f6d4467
commit
cfba56c2b4
@@ -149,6 +149,16 @@ namespace Content.Client.Paper.UI
|
||||
HeaderImage.Margin = new Thickness(visuals.HeaderMargin.Left, visuals.HeaderMargin.Top,
|
||||
visuals.HeaderMargin.Right, visuals.HeaderMargin.Bottom);
|
||||
|
||||
// Then the footer
|
||||
if (visuals.FooterImagePath is {} path)
|
||||
{
|
||||
FooterImage.TexturePath = path.ToString();
|
||||
FooterImage.MinSize = FooterImage.TextureNormal?.Size ?? Vector2.Zero;
|
||||
}
|
||||
|
||||
FooterImage.ModulateSelfOverride = visuals.FooterImageModulate;
|
||||
FooterImage.Margin = new Thickness(visuals.FooterMargin.Left, visuals.FooterMargin.Top,
|
||||
visuals.FooterMargin.Right, visuals.FooterMargin.Bottom);
|
||||
|
||||
PaperContent.ModulateSelfOverride = visuals.ContentImageModulate;
|
||||
WrittenTextLabel.ModulateSelfOverride = visuals.FontAccentColor;
|
||||
|
||||
Reference in New Issue
Block a user