Commit 892cb8d1 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

It works

parent b6c6c3a2
......@@ -177,7 +177,6 @@ QString WebEngineScript::setStyleToElement(const QString &elementStr, const QStr
QString WebEngineScript::scrollToRelativePosition(qreal pos)
{
//TODO verify it
const QString source = QString::fromLatin1("window.scrollTo(window.scrollX, %1); [window.scrollX, window.scrollY];").arg(pos);
return source;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment