diff --git a/core b/core index 532a808..a1c7f8f 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 532a808bd316237644e763c7af80487fa6a36d8f +Subproject commit a1c7f8f49a8db707347b7f1abc15a3c9d64212e0 diff --git a/drawing/Common.lua b/drawing/Common.lua index 1a6adbd..19bc390 100644 --- a/drawing/Common.lua +++ b/drawing/Common.lua @@ -16,6 +16,7 @@ local TextColumn = require 'TextColumn' local Line = require 'Line' local Timeseries = require 'Timeseries' local ScaledTimeseries = require 'ScaledTimeseries' +local s = require 'style' -------------------------------------------------------------------------------- -- constants @@ -622,8 +623,8 @@ end M.default_table_font_spec = M.make_font_spec(FONT, TABLE_FONT_SIZE, false) M.default_table_style = Table.style( - Rect.style( - TABLE_LINE_THICKNESS, + Rect.config( + s.closed_poly(TABLE_LINE_THICKNESS, CAIRO_LINE_JOIN_MITER), Theme.BORDER_FG ), Line.style( @@ -664,7 +665,10 @@ end M.initPanel = function(x, y, w, h, thickness) return FillRect.build( F.make_box(x, y, w, h), - Rect.style(thickness, Theme.BORDER_FG), + Rect.config( + s.closed_poly(thickness, CAIRO_LINE_JOIN_MITER), + Theme.BORDER_FG + ), Theme.PANEL_BG ) end