fix typo, iterate all colors available
patch by andi.berger@yandex.com BUG:377944
This commit is contained in:
parent
bc33f0470d
commit
874a7e39b9
@ -144,7 +144,7 @@ do
|
||||
shift 2;;
|
||||
|
||||
--ButtonHoverFrom)
|
||||
buttonBackgroundFrom=$2
|
||||
buttonHoverFrom=$2
|
||||
shift 2;;
|
||||
--ButtonHoverTo)
|
||||
buttonHoverTo=$2
|
||||
@ -268,7 +268,7 @@ fi
|
||||
xmlstarlet tr transform.xsl temp.svg > temp2.svg
|
||||
mv temp2.svg temp.svg
|
||||
|
||||
for i in {0..4}
|
||||
for i in ${!colors[@]}
|
||||
do
|
||||
xmlstarlet ed --subnode "//*/*[contains(@style, '${colors[i]}') and not (@class)]" -t attr -n "class" -v "${colorNames[i]}" temp.svg > temp2.svg
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user