File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 20
20
import math
21
21
from copy import copy
22
22
from itertools import chain
23
+ import re
23
24
from typing import (
24
25
overload ,
25
26
Sequence ,
@@ -2499,9 +2500,10 @@ def eachpoint(
2499
2500
2500
2501
if combine :
2501
2502
compound = Compound .makeCompound (res )
2502
- res = [ self ._combineWithBase (compound , combine ). val ()]
2503
+ return self ._combineWithBase (compound , combine )
2503
2504
2504
- return self .newObject (res )
2505
+ else :
2506
+ return self .newObject (res )
2505
2507
2506
2508
def rect (
2507
2509
self : T ,
@@ -4136,7 +4138,7 @@ def text(
4136
4138
fontsize : float ,
4137
4139
distance : float ,
4138
4140
cut : bool = True ,
4139
- combine : bool = False ,
4141
+ combine : Union [ bool , str ] = False ,
4140
4142
clean : Union [bool , str ] = True ,
4141
4143
font : str = "Arial" ,
4142
4144
fontPath : Optional [str ] = None ,
You can’t perform that action at this time.
0 commit comments