On Fri, Jul 05, 2002 at 07:52:50PM +0200, geof wrote: > When I focus on lyx and play with the wheel I get : > > ... > scrollDocView of 1272 <---------- > screen: drawFromTo 414-414 > expose 667x0+0+414 > scroll: height now 1492 > scroll: work_height 414 > Workarea event: RELEASE > Workarea event: PUSH > scrollDocView of 1272 <---------- > screen: drawFromTo 414-414 > expose 667x0+0+414 > scroll: height now 1492 > scroll: work_height 414
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 ! thanks john -- "I hope you will find the courage to keep on living despite the existence of this feature." - Richard Stallman