Skip to content

Conversation

@pe4cey
Copy link
Contributor

@pe4cey pe4cey commented May 4, 2017

The scroll to top will only kick in once a frame is added (this handles rerun/frame removal issues we've had)

Added toggle to the sidebar
screen shot 2017-05-04 at 20 04 32

export const getMaxNeighbours = (state) => state[NAME].maxNeighbours || initialState.maxNeighbours
export const getMaxRows = (state) => state[NAME].maxRows || initialState.maxRows
export const getInitialNodeDisplay = (state) => state[NAME].initialNodeDisplay || initialState.initialNodeDisplay
export const getScrollToTop = (state) => state[NAME].scrollToTop || initialState.scrollToTop
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pe4cey I believe default value should be true to preserve previous behaviour. Because the setting is new and so gets false by default

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well caught @irfannuri. PR updated

@pe4cey pe4cey force-pushed the 3.0-stop-to-top-on-frame-removal branch from 8e01aa4 to 44f885b Compare May 5, 2017 10:43
@pe4cey pe4cey force-pushed the 3.0-stop-to-top-on-frame-removal branch from 44f885b to c969b94 Compare May 5, 2017 10:44
@irfannuri irfannuri force-pushed the 3.0-stop-to-top-on-frame-removal branch from 7d2c170 to c4d51a8 Compare May 5, 2017 11:53
@pe4cey pe4cey force-pushed the 3.0-stop-to-top-on-frame-removal branch from c4d51a8 to dc4e327 Compare May 5, 2017 11:55
@irfannuri irfannuri merged commit 081b2e7 into neo4j:3.0 May 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants