Commit d9cb647
authored
Inspector: Replace click.svg with png
Elementa's SVG renderer only works on legacy OpenGL, so this button is
invisible on modern versions.
This commit fixes that by baking the svg to png and using that instead.
Converted using ImageMagick (`convert -density 1200 -resize 48x48
-background none ../../svg/click.svg click.png`) after changing the
stroke color to `white`.
GitHub: #1531 parent 3d0e09d commit d9cb647
File tree
2 files changed
+4
-2
lines changed- src/main
- kotlin/gg/essential/elementa/components/inspector
- resources/textures/inspector
2 files changed
+4
-2
lines changedLines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
| |||
Loading
0 commit comments