remove redundant if statement

This commit is contained in:
onyx-and-iris 2023-09-25 18:24:43 +01:00
parent 89d0253591
commit ef10b224d7

View File

@ -193,7 +193,6 @@ class Popup:
popup[f"COMPRESSOR||SLIDER {param}"].bind( popup[f"COMPRESSOR||SLIDER {param}"].bind(
f"<Alt-{event}-{direction}>", f"||KEY ALT {direction.upper()} {event_id}" f"<Alt-{event}-{direction}>", f"||KEY ALT {direction.upper()} {event_id}"
) )
if param == "RELEASE":
popup[f"COMPRESSOR||SLIDER {param}"].bind( popup[f"COMPRESSOR||SLIDER {param}"].bind(
f"<Control-Alt-{event}-{direction}>", f"||KEY CTRL ALT {direction.upper()} {event_id}" f"<Control-Alt-{event}-{direction}>", f"||KEY CTRL ALT {direction.upper()} {event_id}"
) )