Skip to content

Commit

Permalink
Make texture offset zero
Browse files Browse the repository at this point in the history
Signed-off-by: Rina Mary Shaw <[email protected]>
  • Loading branch information
Pixaurora committed Nov 20, 2024
1 parent 3b31adb commit adc90a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public GuiDisplayImpl(GuiElement element, ConversionCacheImpl conversions) {

@Override
public void drawTexture(ResourcePath path, Size size, Point pos) {
this.drawGuiTextureSubsection(path, size, pos, size, pos);
this.drawGuiTextureSubsection(path, size, pos, size, Point.ZERO);
}

@Override
Expand Down

0 comments on commit adc90a2

Please sign in to comment.