Merge branch 'fiete201-horizontal-scroll'
This commit is contained in:
commit
52b5ef787a
@ -170,8 +170,8 @@ Contributors, sorted by the number of commits in descending order:
|
|||||||
* Nathan Isom
|
* Nathan Isom
|
||||||
* Thorsten Wißmann
|
* Thorsten Wißmann
|
||||||
* Austin Anderson
|
* Austin Anderson
|
||||||
* Jimmy
|
|
||||||
* Fritz Reichwald
|
* Fritz Reichwald
|
||||||
|
* Jimmy
|
||||||
* Niklas Haas
|
* Niklas Haas
|
||||||
* Maciej Wołczyk
|
* Maciej Wołczyk
|
||||||
* Spreadyy
|
* Spreadyy
|
||||||
|
@ -126,6 +126,12 @@ class MouseEventFilter(QObject):
|
|||||||
perc = int(100 * factor)
|
perc = int(100 * factor)
|
||||||
message.info("Zoom level: {}%".format(perc))
|
message.info("Zoom level: {}%".format(perc))
|
||||||
self._tab.zoom.set_factor(factor)
|
self._tab.zoom.set_factor(factor)
|
||||||
|
elif e.modifiers() & Qt.ShiftModifier:
|
||||||
|
if e.angleDelta().y() > 0:
|
||||||
|
self._tab.scroller.left()
|
||||||
|
else:
|
||||||
|
self._tab.scroller.right()
|
||||||
|
return True
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user