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
Mostly in support of #359 (dialogs), but can be used for other things too. For that issue I made a prototype for managing dialogs in a "pane" system. This is as far as I got
PaneLayer: A layer that manages node siblings. Moves nodes to the front depending on user interaction, manages addition and removal of nodes. It is the client's responsibility to add the layer to the correct place in the scene graph. topPane: A singleton type with one PaneLayer. Meant to always be on top. Is a singleton so that it is easy to add items to the top of the view through something like topPane.addToFront( node ).
I am not wed to the terminology and type names, but is just for brainstorming.
Sim.js was responsible for adding the topPane layer to the scene graph. Otherwise, a PaneLayer can be added anywhere.
Pretty simple, but I will commit to a branch and assign to @andrea-phet, it may be a stepping stone as she continues work on Dialogs.
The text was updated successfully, but these errors were encountered:
Mostly in support of #359 (dialogs), but can be used for other things too. For that issue I made a prototype for managing dialogs in a "pane" system. This is as far as I got
PaneLayer:
A layer that manages node siblings. Moves nodes to the front depending on user interaction, manages addition and removal of nodes. It is the client's responsibility to add the layer to the correct place in the scene graph.topPane
: A singleton type with one PaneLayer. Meant to always be on top. Is a singleton so that it is easy to add items to the top of the view through something liketopPane.addToFront( node )
.I am not wed to the terminology and type names, but is just for brainstorming.
Sim.js was responsible for adding the
topPane
layer to the scene graph. Otherwise, aPaneLayer
can be added anywhere.Pretty simple, but I will commit to a branch and assign to @andrea-phet, it may be a stepping stone as she continues work on Dialogs.
The text was updated successfully, but these errors were encountered: