mirror of
https://github.com/AxioDL/boo.git
synced 2025-05-14 19:31:20 +00:00
Cocoa callback check
This commit is contained in:
parent
c34b93f00f
commit
cd4df5cb27
@ -882,7 +882,8 @@ static boo::ESpecialKey translateKeycode(short code)
|
||||
{
|
||||
boo::SWindowRect rect = {{int(self.frame.origin.x), int(self.frame.origin.y)},
|
||||
{int(self.frame.size.width), int(self.frame.size.height)}};
|
||||
resp->booContext->m_callback->resized(rect);
|
||||
if (resp->booContext->m_callback)
|
||||
resp->booContext->m_callback->resized(rect);
|
||||
[super reshape];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user