-
- Downloads
Remove the hideIntro override and default preview modal to false
The use of an "override" prop that allowed the preview modal to be hidden without actually changing the redux state was causing a problem where the block editors where not closing when modals were opening. That is because it relied on the modal reducer being accurate. I defaulted the preview state to false to make it simpler to consume the GUI, as www will not want the preview info to be true. I made it true in the playground instead. This fixes https://github.com/LLK/scratch-gui/issues/3710
Showing
- src/containers/gui.jsx 2 additions, 4 deletionssrc/containers/gui.jsx
- src/lib/app-state-hoc.jsx 15 additions, 11 deletionssrc/lib/app-state-hoc.jsx
- src/lib/hash-parser-hoc.jsx 10 additions, 8 deletionssrc/lib/hash-parser-hoc.jsx
- src/playground/render-gui.jsx 1 addition, 0 deletionssrc/playground/render-gui.jsx
- src/reducers/gui.js 13 additions, 4 deletionssrc/reducers/gui.js
- src/reducers/modals.js 1 addition, 1 deletionsrc/reducers/modals.js
Loading
Please register or sign in to comment