UI: Add Specific Icon to Represent Preview While Loading

Rather than continuing to use ICON_TEMP, meant to represent temporary
locations, this PR adds a specific one - ICON_PREVIEW_LOADING - for
this purpose. Just a copy of ICON_TEMP for now, but with all parts at
40% opacity, matching how we use it now. Not only gives us an icon we
can later change, but also removes our special handling of reducing
opacity for one icon id.

Pull Request: https://projects.blender.org/blender/blender/pulls/135463
This commit is contained in:
Harley Acheson
2025-03-04 23:35:30 +01:00
committed by Harley Acheson
parent 0399134406
commit 0ee642611c
7 changed files with 7 additions and 12 deletions

View File

@@ -0,0 +1 @@
<svg id="svg6" height="1600" viewBox="0 0 1600 1600" width="1600" xmlns="http://www.w3.org/2000/svg" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"><sodipodi:namedview pagecolor="#303030" showgrid="true"><inkscape:grid id="grid5" units="px" spacingx="100" spacingy="100" color="#4772b3" opacity="0.2" visible="true" /></sodipodi:namedview><g fill="#fff" opacity="0.4"><path id="circle1" d="m449 123a1 1 0 0 1 -1 1 1 1 0 0 1 -1-1 1 1 0 0 1 1-1 1 1 0 0 1 1 1z" transform="matrix(100 0 0 100 -44600 -11500)"/><path id="circle2" d="m449.80383 120a1 1 0 0 1 -1 1 1 1 0 0 1 -1-1 1 1 0 0 1 1-1 1 1 0 0 1 1 1z" transform="matrix(100 0 0 100 -44600 -11500)"/><path id="circle3" d="m452 117.80385a1 1 0 0 1 -1 1 1 1 0 0 1 -1-1 1 1 0 0 1 1-1 1 1 0 0 1 1 1z" transform="matrix(100 0 0 100 -44600 -11500)"/><path id="circle4" d="m449.80383-126a1 1 0 0 1 -1 1 1 1 0 0 1 -1-1 1 1 0 0 1 1-1 1 1 0 0 1 1 1z" transform="matrix(100 0 0 -100 -44600 -11500)"/><path id="circle5" d="m452-128.19615a1 1 0 0 1 -1 1 1 1 0 0 1 -1-1 1 1 0 0 1 1-1 1 1 0 0 1 1 1z" transform="matrix(100 0 0 -100 -44600 -11500)"/><path id="path1" d="m454 116a1 1 0 0 0 -1 1 1 1 0 0 0 1 1c2.77327 0 5 2.22673 5 5s-2.22673 5-5 5a1 1 0 0 0 -1 1 1 1 0 0 0 1 1c3.85414 0 7-3.14586 7-7s-3.14586-7-7-7z" stroke-linecap="round" stroke-linejoin="round" transform="matrix(100 0 0 100 -44600 -11500)"/></g><path id="path5" d="m456.5 123.5-3-.00004v-2.99996" fill="none" opacity="0.4" stroke="#fff" stroke-linecap="round" transform="matrix(100 0 0 100 -44600 -11500)"/></svg>

After

Width:  |  Height:  |  Size: 1.6 KiB