REF use semicircle for arc
This commit is contained in:
parent
c683b68204
commit
4579bdb2f8
2
core
2
core
|
@ -1 +1 @@
|
|||
Subproject commit 63598c9257f2272808a98c6192276b18a9981ac9
|
||||
Subproject commit bc8a4548e536c4a46e78712cfe6c578e85ab694b
|
|
@ -246,11 +246,12 @@ M.initRing = function(x, y, r)
|
|||
-- arc_pattern = _G_Patterns_.BORDER_FG
|
||||
-- }
|
||||
return _G_Widget_.Arc(
|
||||
x,
|
||||
y,
|
||||
_G_Widget_.make_semicircle(
|
||||
_G_Widget_.make_point(x, y),
|
||||
r,
|
||||
0,
|
||||
360,
|
||||
360
|
||||
),
|
||||
2,
|
||||
_G_Patterns_.BORDER_FG
|
||||
)
|
||||
|
|
|
@ -84,11 +84,12 @@ local dial = _G_Widget_.Dial(
|
|||
-- arc_pattern = _G_Patterns_.INDICATOR_FG_SECONDARY
|
||||
-- }
|
||||
local cache_arc = _G_Widget_.Arc(
|
||||
DIAL_X,
|
||||
DIAL_Y,
|
||||
_G_Widget_.make_semicircle(
|
||||
_G_Widget_.make_point(DIAL_X, DIAL_Y),
|
||||
DIAL_RADIUS,
|
||||
90,
|
||||
360,
|
||||
360
|
||||
),
|
||||
_DIAL_THICKNESS_,
|
||||
_G_Patterns_.INDICATOR_FG_SECONDARY
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue