From 6685866cd97dee471849e49fc5b975ab9e9e99ea Mon Sep 17 00:00:00 2001 From: sakura1bgx Date: Sat, 8 Nov 2025 02:25:56 +0900 Subject: [PATCH] Update flipstreamviewer.py - Changed FlipStreamButton order. --- flipstreamviewer.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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,),