From 5cfaa83be390cfec6fd5b3d0353458025164d3c7 Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Tue, 11 Mar 2025 11:15:51 +0100 Subject: shift command position of commands with connector lines a little bit out (#3572) --- lib/threads/color.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/threads/color.py') diff --git a/lib/threads/color.py b/lib/threads/color.py index e71ebb06..ef655045 100644 --- a/lib/threads/color.py +++ b/lib/threads/color.py @@ -4,7 +4,6 @@ # Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. import colorsys -import re from inkex import Color from pyembroidery.EmbThread import EmbThread @@ -34,7 +33,7 @@ class ThreadColor(object): self.rgb = (color.get_red(), color.get_green(), color.get_blue()) return elif isinstance(color, str): - self.rgb = Color(color).to('rgb').get_values(False) + self.rgb = tuple(Color(color).to('rgb').get_values(False)) elif isinstance(color, (list, tuple)): self.rgb = tuple(color) else: -- cgit v1.2.3