File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ def get_complex_formatter(self, **kwargs):
130130
131131 def set_value (self , number ):
132132 move_to_point = self .get_edge_center (self .edge_to_fix )
133- old_submobjects = self .submobjects
133+ old_submobjects = list ( self .submobjects )
134134 self .set_submobjects_from_number (number )
135135 self .move_to (move_to_point , self .edge_to_fix )
136136 for sm1 , sm2 in zip (self .submobjects , old_submobjects ):
Original file line number Diff line number Diff line change @@ -149,6 +149,7 @@ def set_style(self,
149149 stroke_opacity = None ,
150150 stroke_rgba = None ,
151151 stroke_width = None ,
152+ stroke_background = True ,
152153 gloss = None ,
153154 shadow = None ,
154155 recurse = True ):
@@ -163,13 +164,17 @@ def set_style(self,
163164
164165 if stroke_rgba is not None :
165166 self .data ['stroke_rgba' ] = resize_with_interpolation (stroke_rgba , len (fill_rgba ))
166- self .set_stroke (width = stroke_width )
167+ self .set_stroke (
168+ width = stroke_width ,
169+ background = stroke_background ,
170+ )
167171 else :
168172 self .set_stroke (
169173 color = stroke_color ,
170174 width = stroke_width ,
171175 opacity = stroke_opacity ,
172176 recurse = recurse ,
177+ background = stroke_background ,
173178 )
174179
175180 if gloss is not None :
@@ -183,6 +188,7 @@ def get_style(self):
183188 "fill_rgba" : self .data ['fill_rgba' ],
184189 "stroke_rgba" : self .data ['stroke_rgba' ],
185190 "stroke_width" : self .data ['stroke_width' ],
191+ "stroke_background" : self .draw_stroke_behind_fill ,
186192 "gloss" : self .get_gloss (),
187193 "shadow" : self .get_shadow (),
188194 }
You can’t perform that action at this time.
0 commit comments