Open areas are by default habitable.

This commit is contained in:
Xinhao Yuan 2021-02-28 11:28:29 -05:00
parent 4099e6fde6
commit c804572ac9
1 changed files with 27 additions and 29 deletions

View File

@ -286,7 +286,6 @@ function module.create(data)
end
for i, a in ipairs(open_areas) do
if a.habitable then
local sa = shrink_area_with_gap(a, gap)
local to_highlight = false
if not pending_op then
@ -316,7 +315,6 @@ function module.create(data)
end
cr:reset_clip()
end
end
local pl = lgi.Pango.Layout.create(cr)
pl:set_font_description(beautiful.get_merged_font(beautiful.font, info_size))