anchor fix

This commit is contained in:
Adrian Mariano
2025-04-30 20:46:40 -04:00
parent 8f7312b864
commit 1145641a78

View File

@@ -1287,10 +1287,10 @@ module textured_tile(
tex_skip=0, tex_skip=0,
style="min_edge", style="min_edge",
atype="tex", atype="tex",
anchor=CENTER, spin=0, orient=UP anchor, spin=0, orient=UP
) )
{ {
anchor = default(anchor, atype=="tex" ? BOTTOM : CENTER);
vnf_data = textured_tile(size=size, vnf_data = textured_tile(size=size,
ysize=ysize, height=height, w1=w1, w2=w2, ang=ang, h=h, shift=shift, ysize=ysize, height=height, w1=w1, w2=w2, ang=ang, h=h, shift=shift,
texture=texture, tex_size=tex_size, tex_reps=tex_reps,tex_extra=tex_extra, texture=texture, tex_size=tex_size, tex_reps=tex_reps,tex_extra=tex_extra,