View Single Post
03-02-13, 09:31 PM   #28
Kharthus
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 26
I'm having a similar issue where the first action after the scroll frame is shown isn't updating the offset correctly. I'll show the frame, scroll, the slider will move, but the offset will stay at zero. If I hide the frame and re-show it, the offset updates correctly.

Example:

Offset at zero (slider is at the top)
scroll down
Offset at zero
scroll down
Offset at 15
scroll up
Offset at 30
scroll up
Offset at 15 (slider is at the top)
scroll down
Offset at zero

In the middle of my list you can do this:
scroll down
Offset at 75
scroll up
Offset at 90
scroll down
Offset at 75
scroll up
Offset at 90

I copied the code from another addon I wrote and it works correctly there, but in the new addon I'm getting this very very weird behavior.

It appears the slider is following the mouse movement, but the offset is one cycle behind. Any ideas how this is happening?

Last edited by Kharthus : 03-02-13 at 10:07 PM. Reason: updated
  Reply With Quote