mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-19 20:00:00 +00:00
Show a full recipe widget in item tooltips for bookmarked recipes (#398)
* Update buildscript * Show a full recipe widget in item tooltips for bookmarked recipes * Make recipe tooltips configurable and only show in the bookmarks panel * Fix layout relative to tooltip boxes * Fix wildcard import * spotlessApply (#401) Co-authored-by: GitHub GTNH Actions <> * Fix handler tooltip offsets for new&legacy handlers * Fix render order to draw crafting tooltips on top of container manager buttons * Fix wrong mouse Y half-point calculation * Allow saving recipes with empty item ingredient lists to bookmarks (e.g. fluid-only) * Fix waila vs. non-waila tooltip offsets Co-authored-by: Wilhelm Schuster <[email protected]> --------- Co-authored-by: Wilhelm Schuster <[email protected]>
This commit is contained in:
14 files changed
+356
-90
No files matched your search
@@ -514,6 +514,10 @@ public class GuiContainerManager {
|
||||
if (tooltip.size() > 0) tooltip.set(0, tooltip.get(0) + GuiDraw.TOOLTIP_LINESPACE); // add space after 'title'
|
||||
|
||||
drawPagedTooltip(font, mousex + 12, mousey - 12, tooltip);
|
||||
|
||||
for (IContainerDrawHandler drawHandler : drawHandlers) {
|
||||
drawHandler.postRenderTooltips(window, mousex, mousey, tooltip);
|
||||
}
|
||||
}
|
||||
|
||||
private static int tooltipPage;
|
||||
|
||||
Reference in new issue
Block a user