summaryrefslogtreecommitdiff
path: root/lib/extensions/apply_palette.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/extensions/apply_palette.py')
-rw-r--r--lib/extensions/apply_palette.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/extensions/apply_palette.py b/lib/extensions/apply_palette.py
index 373824b6..f50a9cf5 100644
--- a/lib/extensions/apply_palette.py
+++ b/lib/extensions/apply_palette.py
@@ -16,7 +16,7 @@ class ApplyPalette(InkstitchExtension):
Applies colors of a color palette to elements
'''
- def effect(self):
+ def effect(self) -> None:
# Remove selection, we want all the elements in the document
self.svg.selection.clear()
@@ -32,7 +32,7 @@ class ApplyPalette(InkstitchExtension):
if palette_choice.palette:
self.apply_palette(palette_choice.palette)
- def apply_palette(self, palette_name):
+ def apply_palette(self, palette_name: str) -> None:
palette = ThreadCatalog().get_palette_by_name(palette_name)
# Iterate through the color blocks to apply colors