fix(controller): apply select when presets not in message
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -82,7 +82,7 @@ def process_data(payload, settings, presets, controller_ip=None, save=False):
|
||||
apply_presets(data, settings, presets)
|
||||
if "clear_presets" in data:
|
||||
apply_clear_presets(data, presets)
|
||||
elif "select" in data or "s" in data:
|
||||
if ("select" in data or "s" in data) and "presets" not in data:
|
||||
apply_select(data, settings, presets)
|
||||
if "default" in data:
|
||||
apply_default(data, settings, presets)
|
||||
|
||||
Reference in New Issue
Block a user