fix bugs
This commit is contained in:
@@ -13,6 +13,9 @@ class SimpleTextImage:
|
||||
@classmethod
|
||||
def INPUT_TYPES(self):
|
||||
|
||||
(_, FONT_DICT) = get_resource_dir()
|
||||
FONT_LIST = list(FONT_DICT.keys())
|
||||
|
||||
return {
|
||||
"required": {
|
||||
"text": ("STRING",{"default": "text", "multiline": True},
|
||||
@@ -46,6 +49,9 @@ class SimpleTextImage:
|
||||
width, height, size_as=None
|
||||
):
|
||||
|
||||
(_, FONT_DICT) = get_resource_dir()
|
||||
FONT_LIST = list(FONT_DICT.keys())
|
||||
|
||||
ret_images = []
|
||||
ret_masks = []
|
||||
if size_as is not None:
|
||||
|
||||
Reference in New Issue
Block a user