equal
deleted
inserted
replaced
323 if (isPopoverVisible) |
323 if (isPopoverVisible) |
324 [self dismissPopover]; |
324 [self dismissPopover]; |
325 |
325 |
326 // reset default dimming |
326 // reset default dimming |
327 doDim(); |
327 doDim(); |
|
328 |
|
329 HW_setPianoSound([allTouches count]); |
328 |
330 |
329 switch ([allTouches count]) { |
331 switch ([allTouches count]) { |
330 case 1: |
332 case 1: |
331 removeConfirmationInput(); |
333 removeConfirmationInput(); |
332 startingPoint = [[[allTouches allObjects] objectAtIndex:0] locationInView:self.view]; |
334 startingPoint = [[[allTouches allObjects] objectAtIndex:0] locationInView:self.view]; |
422 break; |
424 break; |
423 case 2: |
425 case 2: |
424 HW_allKeysUp(); |
426 HW_allKeysUp(); |
425 break; |
427 break; |
426 default: |
428 default: |
427 DLog(@"too many touches"); |
|
428 break; |
429 break; |
429 } |
430 } |
430 |
431 |
431 initialDistanceForPinching = 0; |
432 initialDistanceForPinching = 0; |
432 } |
433 } |