Make sure to actually read the new URL parameters, not just set them

This commit is contained in:
Thomas Weber committed 2021-03-20 22:59:01 -05:00
1 parent b4f6abeddc
commit b17705b1a9
1 file changed
+9 -1
+9 -1
View File
@@ -347,8 +347,16 @@ const TWStateManager = function (WrappedComponent) {
}
}
if (urlParams.has('offscreen')) {
this.props.vm.setRuntimeOptions({
fencing: false
});
}
if (urlParams.has('limitless')) {
this.props.vm.setLimits(false);
this.props.vm.setRuntimeOptions({
effectLimits: false
});
}
if (urlParams.has('project_url')) {