Recipe book: a click on a category tab reaches the book before the outside test

This commit is contained in:
Kacpherek
2026-10-26 11:41:21 +01:00
parent a31a435525
commit 76e2c84103
+7
View File
@@ -6327,6 +6327,13 @@ impl Game<'_> {
false,
);
if outside {
// AbstractRecipeBookScreen.mouseClicked: the book takes the click
// before the outside test, and its tabs sit left of the strip
// hasClickedOutside counts as the book.
if self.recipe_book_click(right) {
self.inv_clicks.skip_release();
return;
}
// slotId -999: an empty hand throws nothing; a carried stack
// starts a drag whose release drops it.
match input {