qutebrowser/qutebrowser
Florian Bruhin 0293307d61 Remove adjust_zoom for webelem.rect_on_view
Previously, the drawn hint labels were affected by the zoom, i.e., they
were stretched out by QtWebKit and actually had to be drawn at the
unzoomed position.

The Python/C++ API gives us coordinated adjusted for zoom, so
we always *negatively* adjusted them to get the unzoomed coordinates.

JS gave us the original coordinates, so we stretched them out according
to the zoom if adjust_zoom was given (which means only when clicking a
link).

Now we always operate in term of display coordinates: The point where we
draw the hint label is equal to the point we're clicking.

Thus, the zoom level for javascript is always adjusted, and the Python
zoom level is never (negatively) adjusted.
2016-08-17 14:51:05 +02:00
..
browser Remove adjust_zoom for webelem.rect_on_view 2016-08-17 14:51:05 +02:00
commands Add some docs for command replacements 2016-08-16 13:32:53 +02:00
completion Focus completion by category. 2016-08-15 07:14:28 -04:00
config Use ${_monospace} for default hints font 2016-08-17 14:51:05 +02:00
html Minor cleanups. Whitespace / indentation CSS. 2016-07-23 13:06:56 +02:00
img New qutebrowser logo! 2016-04-14 17:44:38 +02:00
javascript Move insert-mode-on-click to tab API / mouse.py 2016-08-16 16:22:18 +02:00
keyinput Revert "Revert "Handle counts for special keys."" 2016-08-16 13:44:28 +02:00
mainwindow Set open target for force_tab to tab-silent 2016-08-17 12:04:46 +02:00
misc Move :window-only to misc.utilcmds 2016-08-16 11:05:02 +02:00
utils Merge branch 'issue1060' of https://github.com/haasn/qutebrowser into haasn-issue1060 2016-08-17 12:01:53 +02:00
__init__.py Release v0.8.1 2016-07-27 12:41:40 +02:00
__main__.py Adjust copyright years. 2016-01-04 07:12:39 +01:00
app.py Fix :restart deleting the given --basedir 2016-08-16 21:27:23 +02:00
qutebrowser.py Un-hide --backend argument 2016-07-26 13:30:41 +02:00
resources.py Regenerate resources 2016-04-14 17:59:28 +02:00