mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-03 03:13:48 +00:00
13 lines
657 B
Swift
13 lines
657 B
Swift
extension Controls {
|
|
@objc static let changeChangeTrackRecordingNotificationName: Notification.Name = Notification.Name(rawValue: "ChangeTrackRecording")
|
|
|
|
/// The notification name for switching position mode
|
|
@objc static let switchPositionModeNotificationName: Notification.Name = Notification.Name(rawValue: "SwitchPositionMode")
|
|
|
|
@objc static let changeVisibilityMainButtonsNotificationName: Notification.Name = Notification.Name(rawValue: "ChangeVisibilityMainButtons")
|
|
|
|
static var positionMode: MapPositionButton.Mode {
|
|
return MapPositionButton.Mode(rawValue: Controls.positionModeRawValue()) ?? .locate
|
|
}
|
|
}
|