We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a88816 commit 3c619b4Copy full SHA for 3c619b4
src/windows/views/webview_backend/webkit.py
@@ -135,8 +135,7 @@ def wheelEvent(self, event):
135
delta = -(steps * 100)
136
log.debug("Scrolling horizontally by %d pixels", delta)
137
# Update the scroll position using AngularJS
138
- js = f"$('body').scope().scrollLeft({delta});"
+ js = "$('body').scope().scrollLeft({});".format(delta)
139
frame.evaluateJavaScript(js)
140
else:
141
super().wheelEvent(event)
142
-
0 commit comments