Skip to content

Commit 23cf7c9

Browse files
committed
actually bind the checkbox state
1 parent 6d40b2c commit 23cf7c9

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/containers/tw-settings-modal.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ const mapStateToProps = state => ({
188188
infiniteClones: state.scratchGui.tw.runtimeOptions.maxClones === Infinity,
189189
removeFencing: !state.scratchGui.tw.runtimeOptions.fencing,
190190
removeLimits: !state.scratchGui.tw.runtimeOptions.miscLimits,
191+
oobRendering: !state.scratchGui.tw.runtimeOptions.oobRendering,
191192
dangerousOptimizations: state.scratchGui.tw.runtimeOptions.dangerousOptimizations,
192193
warpTimer: state.scratchGui.tw.compilerOptions.warpTimer,
193194
customStageSize: state.scratchGui.customStageSize,

src/lib/tw-state-manager-hoc.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,8 @@ const TWStateManager = function (WrappedComponent) {
360360

361361
if (urlParams.has('livetests') || String(window.location.href).startsWith(`http://localhost:`)) {
362362
// massive mega brained hack bc i cant figure out how to make a state
363+
// ok so now i do know how to make it a state but because of the way
364+
// this is used + pure laziness this wont be changing
363365
this.props.vm.isLiveTest = true;
364366
}
365367

0 commit comments

Comments
 (0)