Skip to content

Commit

Permalink
Merge pull request #676 from wowsims/fix-wowhead-tooltips
Browse files Browse the repository at this point in the history
Fix tooltips on improved icon inputs
  • Loading branch information
kayla-glick authored Apr 14, 2024
2 parents a318318 + 534e05b commit db7ed0a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions ui/core/components/icon_picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,14 @@ export class IconPicker<ModObject, ValueType> extends Input<ModObject, ValueType
const ce = ref<HTMLSpanElement>();
this.rootAnchor.appendChild(
<div className="icon-input-level-container">
<a ref={ia} className="icon-picker-button icon-input-improved icon-input-improved1" dataset={{ disableWowheadTouchTooltip: 'true' }}></a>
<a ref={ia2} className="icon-picker-button icon-input-improved icon-input-improved2" dataset={{ disableWowheadTouchTooltip: 'true' }}></a>
<a
ref={ia}
className="icon-picker-button icon-input-improved icon-input-improved1"
dataset={{ whtticon: 'false', disableWowheadTouchTooltip: 'true' }}></a>
<a
ref={ia2}
className="icon-picker-button icon-input-improved icon-input-improved2"
dataset={{ whtticon: 'false', disableWowheadTouchTooltip: 'true' }}></a>
<span ref={ce} className={`icon-picker-label ${this.config.states > 2 ? '' : 'hide'}`}></span>
</div>,
);
Expand Down

0 comments on commit db7ed0a

Please sign in to comment.