From 7cef2c9a094abe61282ac9bdc6bbfdc1e3e1d8c6 Mon Sep 17 00:00:00 2001 From: George Steel Date: Wed, 23 Nov 2022 21:58:39 -0500 Subject: typo fixes --- lib/elements/element.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/elements/element.py') diff --git a/lib/elements/element.py b/lib/elements/element.py index 8ff821e2..96949ca3 100644 --- a/lib/elements/element.py +++ b/lib/elements/element.py @@ -140,7 +140,7 @@ class EmbroideryElement(object): # if a single number is given in the param, it will apply to both returned values. # Not cached the cache will crash if the default is a numpy array. # The ppoperty calling this will need to cache itself and can safely do so since it has no parameters - def get_lr_float_param(self, param, default=(0, 0)): + def get_split_float_param(self, param, default=(0, 0)): default = np.array(default) # type coersion in case the default is a tuple raw = self.get_param(param, "") @@ -159,8 +159,8 @@ class EmbroideryElement(object): return default # not cached - def get_lr_mm_param_as_px(self, param, default): - return self.get_lr_float_param(param, default) * PIXELS_PER_MM + def get_split_mm_param_as_px(self, param, default): + return self.get_split_float_param(param, default) * PIXELS_PER_MM def set_param(self, name, value): param = INKSTITCH_ATTRIBS[name] -- cgit v1.2.3