Thallius/ColorPicker — Issue #3: Cancel Hide on Delay
Author: PaulSolt
Created: 2011-10-18 05:34:42+00:00
State: open

It would be nice to cancel a hide on delay, if another action occurs. To do so, I added the following code to ATMHud.h and ATMHud.m

- (void)cancelHideAfterDelay;

- (void)cancelHideAfterDelay {
[NSObject cancelPreviousPerformRequestsWithTarget:self selector:@selector(hide) object:nil];
}