Merge branch 'horizontal-scroll' of https://github.com/fiete201/qutebrowser into fiete201-horizontal-scroll
This commit is contained in:
commit
ce71b59894
@ -127,6 +127,12 @@ class MouseEventFilter(QObject):
|
||||
message.info("Zoom level: {}%".format(perc))
|
||||
self._tab.zoom.set_factor(factor)
|
||||
|
||||
if e.modifiers() & Qt.ShiftModifier:
|
||||
if e.anglelta().y() < 0:
|
||||
self._tab.scroll.left()
|
||||
else:
|
||||
self._tab.scroll.right()
|
||||
|
||||
return False
|
||||
|
||||
def _handle_context_menu(self, _e):
|
||||
|
Loading…
Reference in New Issue
Block a user