Skip to content

Commit

Permalink
removed unneeded comment, changed a little formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkmajia committed Jan 7, 2025
1 parent 5f75441 commit 7297bfb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Content.Client/Paper/UI/StampWidget.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ public StampDisplayInfo StampInfo {
"/Textures/_Impstation/Interface/Paper/Stamps/" + icon + ".png");

_borderTexture = new StyleBoxTexture { Texture = borderImage };
//_borderTexture.SetPatchMargin(StyleBoxTexture.Margin.All, 7.0f);
PanelOverride = _borderTexture;

// make stamps 50% larger to better match the original stamp sizes
Expand Down Expand Up @@ -61,10 +60,7 @@ public StampWidget()
var resCache = IoCManager.Resolve<IResourceCache>();
var borderImage = resCache.GetResource<TextureResource>(
"/Textures/Interface/Paper/paper_stamp_border.svg.96dpi.png");
_borderTexture = new StyleBoxTexture
{
Texture = borderImage,
};
_borderTexture = new StyleBoxTexture { Texture = borderImage };
_borderTexture.SetPatchMargin(StyleBoxTexture.Margin.All, 7.0f);
PanelOverride = _borderTexture;
}
Expand Down

0 comments on commit 7297bfb

Please sign in to comment.