diff options
author | Invertex <Invertex@users.noreply.github.com> | 2023-11-14 03:55:36 -0800 |
---|---|---|
committer | Invertex <Invertex@users.noreply.github.com> | 2023-12-13 07:43:39 -0800 |
commit | 59787683a91c25d28e69b67ae9a56eac6f6d83bd (patch) | |
tree | b040ac03e1dcf07be4338f602306533fe12ff88b /editor/icons | |
parent | c455cb65550c19afbbf657a1dbf9af2ca3b603da (diff) | |
download | redot-engine-59787683a91c25d28e69b67ae9a56eac6f6d83bd.tar.gz |
Added "Show In FileSystem" right-click option to Scene hierarchy nodes.
-Implemented shared function for focusing FileSystem tab and highlighting the node path.
-Created right-click option that shows up in the Scene-Hierarchy on Nodes that have a file-system source path.
-Created custom icon for this right-click option
-Implemented the shared function and icon for other places that already had this features (Open Node tab, Inspector Resource)
Co-authored-by: MewPurPur <mew.pur.pur@gmail.com>
Diffstat (limited to 'editor/icons')
-rw-r--r-- | editor/icons/ShowInFileSystem.svg | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/icons/ShowInFileSystem.svg b/editor/icons/ShowInFileSystem.svg new file mode 100644 index 0000000000..9cfeaf48d2 --- /dev/null +++ b/editor/icons/ShowInFileSystem.svg @@ -0,0 +1 @@ +<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M1 1v2.25h6v4.5h3v4.5h5V10h-2.75V7.75H15V5.5H9.25V3.25H15V1z" fill="#e0e0e0"/><path d="M5.04 8.04c-1.534 0-3.475 1.169-4.173 3.423a.6.6 0 0 0 0 .33c.67 2.374 2.673 3.447 4.173 3.447s3.502-1.073 4.177-3.435a.6.6 0 0 0 0-.33C8.557 9.201 6.572 8.04 5.04 8.04zm0 1.2a2.4 2.4 0 0 1 0 4.8 2.4 2.4 0 0 1 0-4.8zm0 1.2a1.2 1.2 0 0 0 0 2.4 1.2 1.2 0 0 0 0-2.4z" fill="#5fb2ff"/></svg> |