Skip to content

Commit

Permalink
feat: top left layer controls, bottom left layer list panel
Browse files Browse the repository at this point in the history
  • Loading branch information
seankmartin committed Jan 8, 2025
1 parent bd31fa8 commit cf96b09
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cryoet_data_portal_neuroglancer/state_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,11 +269,16 @@ def combine_json_layers(
"selectedLayer": {
"visible": True,
"layer": layers[0]["name"],
"side": "left",
},
"crossSectionBackgroundColor": "#000000",
"layout": "4panel",
"showSlices": set_slices_visible_in_3d,
"showAxisLines": show_axis_lines,
"layerListPanel": {
"row": 1,
"visible": True,
},
}
if len(image_layers) > 0 and "_position" in image_layers[0]:
combined_json["position"] = image_layers[0]["_position"]
Expand Down

0 comments on commit cf96b09

Please # to comment.