Raised min fps of tablet overlay for smoother scrolling

This commit is contained in:
Anthony J. Thibault 2017-01-18 13:26:32 -08:00
parent fc5c2c8def
commit bcd94203e6

View file

@ -154,6 +154,9 @@ void Web3DOverlay::loadSourceURL() {
auto flags = tabletScriptingInterface->getFlags();
_webSurface->getRootContext()->setContextProperty("offscreenFlags", flags);
tabletScriptingInterface->setQmlTabletRoot("com.highfidelity.interface.tablet.system", _webSurface->getRootItem(), _webSurface.data());
// Override min fps for tablet UI, for silky smooth scrolling
_webSurface->setMaxFps(90);
}
}
_webSurface->getRootContext()->setContextProperty("globalPosition", vec3toVariant(getPosition()));