Open areas are by default habitable.
This commit is contained in:
parent
4099e6fde6
commit
c804572ac9
|
@ -286,7 +286,6 @@ function module.create(data)
|
||||||
end
|
end
|
||||||
|
|
||||||
for i, a in ipairs(open_areas) do
|
for i, a in ipairs(open_areas) do
|
||||||
if a.habitable then
|
|
||||||
local sa = shrink_area_with_gap(a, gap)
|
local sa = shrink_area_with_gap(a, gap)
|
||||||
local to_highlight = false
|
local to_highlight = false
|
||||||
if not pending_op then
|
if not pending_op then
|
||||||
|
@ -316,7 +315,6 @@ function module.create(data)
|
||||||
end
|
end
|
||||||
cr:reset_clip()
|
cr:reset_clip()
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
local pl = lgi.Pango.Layout.create(cr)
|
local pl = lgi.Pango.Layout.create(cr)
|
||||||
pl:set_font_description(beautiful.get_merged_font(beautiful.font, info_size))
|
pl:set_font_description(beautiful.get_merged_font(beautiful.font, info_size))
|
||||||
|
|
Loading…
Reference in New Issue