parent
73b70d34fa
commit
19fd21111a
|
@ -1351,10 +1351,8 @@ function placement.next_to(d, args)
|
||||||
|
|
||||||
local preferred_positions = {}
|
local preferred_positions = {}
|
||||||
|
|
||||||
if #(args.preferred_positions or {}) then
|
for k, v in ipairs(args.preferred_positions or {}) do
|
||||||
for k, v in ipairs(args.preferred_positions) do
|
preferred_positions[v] = k
|
||||||
preferred_positions[v] = k
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
local dgeo = geometry_common(d, args)
|
local dgeo = geometry_common(d, args)
|
||||||
|
|
Loading…
Reference in New Issue