Fix hotbar compositing errors.

Much simpler method.
This commit is contained in:
Auke Kok 2016-04-13 21:52:14 -07:00
parent 84bc2a8a03
commit c66a91d941

View File

@ -476,9 +476,9 @@ RENAMES
echo -e "." >> _n/_tot
if [ -f _n/gui/widgets.png ]; then
convert _n/gui/widgets.png -resize 256x256 -background none -gravity NorthWest -crop 24x24+0+22 gui_hotbar_selected.png
convert _n/gui/widgets.png -resize 256x256 -background none -gravity NorthWest -extent 182x22 \
\( -clone 0 -crop 22x22+160+0 \) -geometry +140+0 -composite \
-gravity West -extent 162x22 gui_hotbar.png
convert _n/gui/widgets.png -resize 256x256 -background none -gravity NorthWest -extent 140x22 _n/a.png
convert _n/gui/widgets.png -resize 256x256 -background none -gravity NorthWest -crop 22x22+160+0 +repage -extent 22x22 _n/b.png
montage _n/a.png _n/b.png -tile 2x1 -background none -geometry +0+0 PNG32:gui_hotbar.png
echo -e "." >> _n/_counter
fi