Skip to content

Commit

Permalink
Disable arm notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
kmontag committed Jan 30, 2024
1 parent fe25f73 commit 916c5bc
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions control_surface/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,6 @@ def _slider_value_notification(value: str):
return NotificationData(text=_right_align("", value), flash_on_repeat=False)


def _track_arm_notification(name: str, status: ArmStatus):
# Only show notifications when recording is (non-implicitly) enabled.
if status is ArmStatus.on:
return name
else:
return None


class Notifications(DefaultNotifications):
class Clip(DefaultNotifications.Clip):
quantize = _quantize_notification
Expand Down Expand Up @@ -145,7 +137,8 @@ class Slider:
value = _slider_value_notification

class Track(DefaultNotifications.Track):
arm = _track_arm_notification
# Disabling these for now, maybe should be removed entirely...
arm = None
select = DefaultNotifications.DefaultText()

class TrackControls:
Expand Down

0 comments on commit 916c5bc

Please sign in to comment.