Skip to content

Commit

Permalink
Documentation updated
Browse files Browse the repository at this point in the history
  • Loading branch information
kleber-jg committed Sep 7, 2022
1 parent ff1f4a5 commit 2edddca
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,15 @@ The config object can have the following properties (all of them optional):
- Dims invisible objects
- Actions:

1. **Refresh**. Refreshes the Object Tree objects. The tree is refreshed every time the Editor opens so this is useful only when the hierarchy changes while the Editor is open.
1. **Collapse All**. Collapses all nodes in the Object Tree.

2. **Lock/unlock selected object**. Locked objects can't be selected inside the [Scene View](#scene-view). They still can be selected inside the Object Tree. By default, locked objects are saved between runs. If you don't want this, set the `saveLockedObjectsPath` to `false` when instantiating the Plugin.
2. **Refresh**. Refreshes the Object Tree nodes. The tree is refreshed every time the Editor opens so this is useful only when the hierarchy changes while the Editor is open.

3. **Select the selected object's parent**. This is useful for when you have a huge object hierarchy and wants to select the parent of the selected object fast.
3. **Lock/unlock selected object**. Locked nodes can't be selected inside the [Scene View](#scene-view). They still can be selected inside the Object Tree. By default, locked nodes are saved between runs. If you don't want this, set the `saveLockedObjectsPath` to `false` when instantiating the Plugin.

4. **Filter**. Filters objects inside the tree by their names.
4. **Select the selected object's parent**. This is useful for when you have a huge object hierarchy and wants to select the parent of the selected object fast.

5. **Filter**. Filters objects inside the tree by their names.

### Properties Panel

Expand Down
Binary file modified docs/object-tree.webp
Binary file not shown.
11 changes: 6 additions & 5 deletions src/editor-view/object-tree/search-field/search-field.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ phred-search-field {
position: relative;
opacity: 0.8;
box-sizing: border-box;
padding: 4px 10px;
padding: 4px 4px;
box-shadow: 0 4px 4px $light-shadow-color;
margin-bottom: 2px;

Expand All @@ -13,8 +13,8 @@ phred-search-field {
content: '\f002';
display: inline-block;
position: absolute;
top: 8px;
left: 16px;
top: 10px;
left: 10px;
}

input[type='text'] {
Expand All @@ -27,17 +27,18 @@ phred-search-field {
.clear-button {
display: inline-block;
position: absolute;
right: 10px;
right: 6px;
top: 0;
width: 20px;
height: 20px;
line-height: 20px;
cursor: pointer;
text-align: center;
vertical-align: middle;
padding-top: 2px;
// padding-top: 2px;

&::after {
padding-top: 4px;
font-family: 'Font Awesome 5 Free';
font-size: 10px;
font-weight: 900;
Expand Down

0 comments on commit 2edddca

Please sign in to comment.