You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to use the GUI on scratch-www we need to make some things importable:
Combined GUI reducer
scratch-paint reducer, separately from the GUI reducer
Since scratch-paint expects its state to be under state.scratchPaint, it must be combined with the gui reducer separately. Otherwise, when scratch-gui is embedded into scratch-www, the scratchPaint state will be under state.gui.scratchPaint, so things will break
We want to export this as a part of scratch-gui so that scratch-www doesn't need scratch-paint as a separate dependency
We will need to re-combine the gui and scratchPaint reducers for the GUI "playground" in this repo, which can serve as an example of how to combine the reducers in www
The GUI component
The text was updated successfully, but these errors were encountered:
In order to use the GUI on scratch-www we need to make some things importable:
state.scratchPaint
, it must be combined with the gui reducer separately. Otherwise, when scratch-gui is embedded into scratch-www, the scratchPaint state will be understate.gui.scratchPaint
, so things will breakgui
andscratchPaint
reducers for the GUI "playground" in this repo, which can serve as an example of how to combine the reducers in wwwThe text was updated successfully, but these errors were encountered: