Bagnon

Bagnon

122M Downloads

Framerate drop when display tooltip to compare gear from bag and equiped

BlondeLegendaire opened this issue · 1 comments

commented

Running Software (issues missing this information will be deleted):

  • Addon version: Bagnon-10.0.3-10.0.0
  • Server patch: 10.0.0 (46366)

Have you read the changelog? (please don't waste our time)
No

Describe the bug
When comparing item gear between bag and equip, ips drops with the display of the tooltip.

To Reproduce
Steps to reproduce the behaviour:

  1. Open Bag
  2. Put mouse on an item gear
  3. Framerate drops to 30 ips (is between 90 and 140 usually)

Expected behaviour
No framerate drop

Error Logs
No error. Just framerate dropping.

Additional context
No drop if bagnon is disabled
No drop if using addon bag from elvui

commented

I noticed this issue a couple days ago and found a fix for it. Just need to wait for it to get merged in and deployed.
If you want to fix it yourself in the meantime, go to
\Interface\AddOns\Bagnon\common\Wildpants\classes\item.lua
and remove this line in function Item:OnEnter() :
self:SetScript('OnUpdate', self.UpdateTooltip)