mirror of
https://github.com/wahyd4/Yep.git
synced 2026-08-17 00:36:00 +10:00
Response first
This commit is contained in:
@@ -19,10 +19,11 @@ class YepButton: UIButton {
|
||||
var yepTouchesMoved : (() -> ())?
|
||||
|
||||
override func touchesBegan(touches: Set<NSObject>, withEvent event: UIEvent) {
|
||||
super.touchesBegan(touches, withEvent: event)
|
||||
if let yepTouchBegin = yepTouchBegin {
|
||||
yepTouchBegin()
|
||||
}
|
||||
super.touchesBegan(touches, withEvent: event)
|
||||
|
||||
}
|
||||
|
||||
override func touchesEnded(touches: Set<NSObject>, withEvent event: UIEvent) {
|
||||
|
||||
@@ -321,6 +321,7 @@ class MessageToolbar: UIToolbar {
|
||||
|
||||
func trySendVoiceMessageCancel() {
|
||||
if let textSendAction = voiceSendCancelAction {
|
||||
println("Cancel")
|
||||
voiceRecordButton.backgroundColor = UIColor.whiteColor()
|
||||
textSendAction(messageToolBar: self)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user