Skip to content

Commit

Permalink
fix source tooltips
Browse files Browse the repository at this point in the history
kayla-glick committed Apr 14, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
acaloiaro Adriano Caloiaro
1 parent 476f392 commit 65c1740
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions proto/ui.proto
Original file line number Diff line number Diff line change
@@ -102,7 +102,7 @@ enum RepLevel {
RepLevelUnknown = 0;
RepLevelHated = 1;
RepLevelHostile = 2;
RepLevelUnfriendly = 3;
RepLevelUnfriendly = 3;
RepLevelNeutral = 4;
RepLevelFriendly = 5;
RepLevelHonored = 6;
@@ -139,7 +139,6 @@ enum RepFaction {
RepFactionAzerothCommerceAuthority = 2586;
RepFactionDurotarSupplyAndLogistics = 2587;
RepFactionEmeraldWardens = 2641;

}

message UIItemSource {
@@ -173,8 +172,8 @@ message SoldBySource {
}
message RepSource {
RepFaction rep_faction_id = 1;
RepLevel rep_level = 2;
Faction faction_id = 3;
RepLevel rep_level = 2;
Faction faction_id = 3;
}

message UIEnchant {
2 changes: 1 addition & 1 deletion ui/core/components/gear_picker.tsx
Original file line number Diff line number Diff line change
@@ -1172,7 +1172,7 @@ export class ItemList<T> {
private getSourceInfo(item: Item, sim: Sim): JSX.Element {
const makeAnchor = (href: string, inner: string | JSX.Element) => {
return (
<a href={href} target="_blank">
<a href={href} target="_blank" dataset={{ whtticon: 'false' }}>
<small>{inner}</small>
</a>
);

0 comments on commit 65c1740

Please sign in to comment.