Skip to content

Commit

Permalink
Fix Reversed Hover Info
Browse files Browse the repository at this point in the history
  • Loading branch information
IntegerLimit committed Dec 28, 2024
1 parent 83ba534 commit 3f0a5b3
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,11 @@ public class InfoWrapperMixin implements AccessibleInfoWrapper {
hover.remove(labs$connectionInfoIndex);

StringBuilder builder = new StringBuilder("nomilabs.gui.advanced_memory_card.hover_info.connections.");
// Opposite type
if (labs$getThis().getOutput())
builder.append("output.");
else
builder.append("input.");
else
builder.append("output.");

switch (amt) {
case 0 -> builder.append("none");
Expand Down

0 comments on commit 3f0a5b3

Please sign in to comment.