Skip to content

Commit

Permalink
Merge pull request #93 from hanjinliu/viewer-visibility
Browse files Browse the repository at this point in the history
Initialize visibility of project viewer
  • Loading branch information
hanjinliu authored Jul 27, 2024
2 parents 8648b48 + 9ad8ed7 commit 4cc19d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cylindra_ext"
version = "1.0.0-beta.3"
version = "1.0.0-beta.4"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
1 change: 1 addition & 0 deletions cylindra/project/_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ def _add_layer(self, layer: "LayerItem", visible: bool = True):
def _on_visible_change(value: bool):
layer.visible = value

layer.visible = visible
self.append(cont)

def _from_project(self, project: "CylindraProject", dir: Path):
Expand Down

0 comments on commit 4cc19d7

Please sign in to comment.