Skip to content

Commit

Permalink
Merge pull request #677 from wowsims/fix-wowhead-tooltips
Browse files Browse the repository at this point in the history
Fix source tooltips
  • Loading branch information
kayla-glick authored Apr 14, 2024
2 parents db7ed0a + d24087e commit fa6f758
Show file tree
Hide file tree
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
Expand Up @@ -102,7 +102,7 @@ enum RepLevel {
RepLevelUnknown = 0;
RepLevelHated = 1;
RepLevelHostile = 2;
RepLevelUnfriendly = 3;
RepLevelUnfriendly = 3;
RepLevelNeutral = 4;
RepLevelFriendly = 5;
RepLevelHonored = 6;
Expand Down Expand Up @@ -139,7 +139,6 @@ enum RepFaction {
RepFactionAzerothCommerceAuthority = 2586;
RepFactionDurotarSupplyAndLogistics = 2587;
RepFactionEmeraldWardens = 2641;

}

message UIItemSource {
Expand Down Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion ui/core/components/gear_picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
);
Expand Down

0 comments on commit fa6f758

Please sign in to comment.