Extensions designed to enrich your browsing experience

modern scroll 1.5 beta 7

beta 7…

numbers are increasing…

and once again: so does performance :yes::up: …

Dragging the bars got a lot better in beta 6.
In beta 7 the scrolling performance with the arrow keys now got an additional boost once more.

To achieve this, I'm using a trick, which I wanted to use in earlier versions already, but wasn't able to…:

What if instead of constantly re-calculating and setting the correct position of the bars upon scrolling I was able to kind of forecast the scrolling and thus calculate it at the beginning only?
This used to be impossible, because Opera's scrolling functions are unpredictable. They are pretty fluid on small sites and lack heavily on some others – even worse: depending on the visible content the speed changes while scrolling :down:
But since I implemented my own functions which are scrolling at a constant rate, which is settable in the options, I know that speed now!

All prerequisites are fulfilled, so that's how it works now:
modern scroll calculates the time needed to scroll to the end of the page (up/down/left/right of course depending on which arrow key you're pressing). This time is used as CSS transition duration for the bar and then it is set to the end.
It'll now transition automatically without any need of further calculations.
The only thing which needs to be done is canceling that transition as soon as you release that key.
I feared that this method would be a bit inaccurate and lead to slight offsets, but I was proven wrong. I tested it a bit now and even on really long pages I found the "fake" updating pretty solid :up:

As a result, you can now use (re-enable if you deactivated it) "animate the bars during scrolling with the mouse wheel / arrow keys" with practically no performance impairments at all! :yes:

Enjoy it :cheers: 🙂


Comments on: "modern scroll 1.5 beta 7" (2)

  1. :yikes: great work :yes: it's amazingly fast really, If you could bring the scrolling with the mouse wheel at this level, opera's scrolling performance will be as good as chrome's at this point IMHO.thanks again, have a good time in your trip, and try to forget about us. 😀

  2. Wonderfull! :cheers: Originally posted by netmain:

    have a good time in your trip

    +1 😆

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: