parent
73b70d34fa
commit
19fd21111a
|
@ -1351,11 +1351,9 @@ 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)
|
||||||
local pref_idx, pref_name = 99, nil
|
local pref_idx, pref_name = 99, nil
|
||||||
|
|
Loading…
Reference in New Issue