Skip to content

Commit

Permalink
Update snaps
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Nov 23, 2024
1 parent 7db2a1c commit c65a129
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export async function renderReactionEffect(props?: any, stopToken?: string) {
const { html, ...data } = await rendererType.renderInClient(rpcManager, {
...renderArgs,
...renderProps,
stopToken,
exportSVG,
stopToken,
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,13 @@ function stateModelFactory(schema: AnyConfigurationSchemaType) {
}
session.setSelection(feature)
},
/**
* #autorun
*/
afterCreate() {
// use color by stand to help indicate inversions better on first load,
// otherwise use selected orientation
if (self.colorBy) {
self.setColorScheme({ ...self.colorBy })
} else {
if (!self.colorBySetting && self.colorBy.type === 'normal') {
self.setColorScheme({ type: 'strand' })
}
},
Expand Down
Loading

0 comments on commit c65a129

Please sign in to comment.