John Levon wrote: > > Hmm, yes. The problem is obvious. Can somebody explain what units > lyxrc.wheel_jump is supposed to be in, and I can fix it ? > > 420 double const diff = t->defaultHeight() > 421 + double(time) * double(time) * 0.125; > 422 > 423 scrollDocView(int(diff)); > > should be something like > > float add_value = float(workarea_.height()) * float(time) / 100; > > but that was disabled in the old code. Somebody help please !
That outcommented code was put in there from myself to fix the IMO wrong scrolling algorithm, but Lars didn't like it. So I left it there until we can convince him that his code is really odd and it should be changed to the new one ;) Jug -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen Vigna E-Mail: [EMAIL PROTECTED] Mitterstrich 151/A Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39050 Steinegg Web: http://www.lyx.org/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._