diff --git a/flipstreamviewer.py b/flipstreamviewer.py
index dc715a5..b56d0e6 100644
--- a/flipstreamviewer.py
+++ b/flipstreamviewer.py
@@ -1035,15 +1035,15 @@ async def viewer(request):
block[f"{title}_{section}"] = f"""
{section}
"""
- def add_button(title, update, capture, hook):
+ def add_button(title, capture, update, hook):
block[f"{title}"] = f"""
"""
- if update:
- block[f"{title}"] += f"""
- """
if capture:
block[f"{title}"] += f"""
"""
+ if update:
+ block[f"{title}"] += f"""
+ """
block[f"{title}"] += f"""
"""
@@ -1595,8 +1595,8 @@ class FlipStreamButton:
def INPUT_TYPES(s):
return {
"required": {
- "update": ("BOOLEAN", {"default": True}),
"capture": ("BOOLEAN", {"default": True}),
+ "update": ("BOOLEAN", {"default": True}),
},
"optional": {
"hook": (any,),