Skip to content

feat: Add manual pinning to storage screen - #8808

Draft
llpaull wants to merge 1 commit into
AppliedEnergistics:mainfrom
llpaull:feat/manual_pin
Draft

feat: Add manual pinning to storage screen#8808
llpaull wants to merge 1 commit into
AppliedEnergistics:mainfrom
llpaull:feat/manual_pin

Conversation

@llpaull

@llpaull llpaull commented Mar 11, 2026

Copy link
Copy Markdown

No description provided.

if (info.reason == PinnedKeys.PinReason.MANUAL && pinnedRowManual.size() < rowSize) {
pinnedRowManual.add(entry);
continue;
} else if (pinnedRowOther.size() < rowSize) {

@Mithi83 Mithi83 Mar 11, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you have to explicitly check for info.reason == PinnedKeys.PinReason.CRAFTING here as well. Otherwise you end up in the else if with PinReason.MANUAL if the if (info.reason == PinnedKeys.PinReason.MANUAL && pinnedRowManual.size() < rowSize) in line 226 failed due to the rowSize check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants