[qwaq] Initialize onEvent

sigh
This commit is contained in:
Bill Currie 2020-03-26 18:16:57 +09:00
parent 48f41142f5
commit 6ec7b96693
2 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,6 @@
linebuffer = [DrawBuffer buffer: { xlen, 1 }];
growMode = gfGrowHi;
options = ofCanFocus | ofRelativeEvents;
onEvent = [[ListenerGroup alloc] init];
return self;
}

View File

@ -12,6 +12,7 @@
}
onReceiveFocus = [[ListenerGroup alloc] init];
onReleaseFocus = [[ListenerGroup alloc] init];
onEvent = [[ListenerGroup alloc] init];
return self;
}
@ -24,6 +25,7 @@
self.absRect = rect;
onReceiveFocus = [[ListenerGroup alloc] init];
onReleaseFocus = [[ListenerGroup alloc] init];
onEvent = [[ListenerGroup alloc] init];
return self;
}