diff options
author | Christian Kaiser <info@ckaiser.com.ar> | 2024-05-10 23:46:09 -0300 |
---|---|---|
committer | Christian Kaiser <info@ckaiser.com.ar> | 2024-05-10 23:46:09 -0300 |
commit | d3160c3a909a1d2f3397abf6ec7857376a32f8b8 (patch) | |
tree | 6b8add7204516e81d551803e903e009f67c206e2 /editor/icons | |
parent | 2ba22d1554ded08094e3869a83bd87487266ad38 (diff) | |
download | redot-engine-d3160c3a909a1d2f3397abf6ec7857376a32f8b8.tar.gz |
Fix FileBrowse and FolderBrowse icon style fill not getting replaced
The color replacing code in the icon loader only works with the fill/stroke/stop-color properties and not with colors defined inside the style attribute. This changes the SVG files to use that instead.
Diffstat (limited to 'editor/icons')
-rw-r--r-- | editor/icons/FileBrowse.svg | 2 | ||||
-rw-r--r-- | editor/icons/FolderBrowse.svg | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/editor/icons/FileBrowse.svg b/editor/icons/FileBrowse.svg index 2bf3ca4ac6..ad7e01d92c 100644 --- a/editor/icons/FileBrowse.svg +++ b/editor/icons/FileBrowse.svg @@ -1 +1 @@ -<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path d="M2 1v14h2.707a2.501 2.501 0 0 1-.207-1A2.49 2.49 0 0 1 7 11.5c.565 0 1.083.188 1.5.5.417-.312.935-.5 1.5-.5s1.083.188 1.5.5a2.51 2.51 0 0 1 2.5-.293V6H9V1Zm8 0v4h4z" style="fill:#e0e0e0;fill-opacity:1"/><path d="M6.609 10.405a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z" style="fill:#e0e0e0;stroke-width:20.4397;stroke-linecap:round" transform="translate(1.391 3.595)"/></svg>
\ No newline at end of file +<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path fill="#e0e0e0" d="M2 1v14h2.707a2.5 2.5 0 0 1-.207-1A2.49 2.49 0 0 1 7 11.5c.565 0 1.083.188 1.5.5a2.494 2.494 0 0 1 3 0 2.51 2.51 0 0 1 2.5-.293V6H9V1Zm8 0v4h4z"/><path fill="#e0e0e0" d="M8 14a1 1 0 1 1-2 0 1 1 0 0 1 2 0m3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0m3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0"/></svg>
\ No newline at end of file diff --git a/editor/icons/FolderBrowse.svg b/editor/icons/FolderBrowse.svg index 834d7f16de..96081da22a 100644 --- a/editor/icons/FolderBrowse.svg +++ b/editor/icons/FolderBrowse.svg @@ -1 +1 @@ -<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="16" height="16"><path d="M2 2a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h3.738a2.505 2.505 0 0 1-.238-1.074 2.49 2.49 0 0 1 2.5-2.5c.565 0 1.083.187 1.5.5.417-.313.935-.5 1.5-.5s1.083.187 1.5.5a2.504 2.504 0 0 1 2.5-.295V6a1 1 0 0 0-1-1h-4a1 1 0 0 1-1-1V3a1 1 0 0 0-1-1Zm3.8 12.121zm.126.205zm9.293-3.586zm.187.115zm.42.36zm.123.14zm.125.17zm.135.227zm.25.719zM6.084 14.537zm.348.34zm.17.125zm.203.123zm.603.23.074.018c-.025-.005-.05-.012-.074-.018zm.35.06z" style="fill:#e0e0e0;fill-opacity:1"/><path d="M6.336 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z" style="fill:#e0e0e0;stroke-width:20.4397;stroke-linecap:round" transform="translate(2.664 1)"/></svg>
\ No newline at end of file +<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="16" height="16"><path fill="#e0e0e0" d="M2 2a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h3.738a2.5 2.5 0 0 1-.238-1.074 2.49 2.49 0 0 1 2.5-2.5c.565 0 1.083.187 1.5.5.417-.313.935-.5 1.5-.5s1.083.187 1.5.5a2.5 2.5 0 0 1 2.5-.295V6a1 1 0 0 0-1-1h-4a1 1 0 0 1-1-1V3a1 1 0 0 0-1-1Zm5.408 13.355.074.018q-.038-.008-.074-.018m.35.06"/><path fill="#e0e0e0" d="M9 13a1 1 0 1 1-2 0 1 1 0 0 1 2 0m3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0m3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0"/></svg>
\ No newline at end of file |