diff --git a/src/lib/tw-state-manager-hoc.jsx b/src/lib/tw-state-manager-hoc.jsx index 8ca87ba16..f8fae2d19 100644 --- a/src/lib/tw-state-manager-hoc.jsx +++ b/src/lib/tw-state-manager-hoc.jsx @@ -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')) {