mirror of
https://github.com/AxioDL/boo.git
synced 2025-05-15 03:41:23 +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)},
|
boo::SWindowRect rect = {{int(self.frame.origin.x), int(self.frame.origin.y)},
|
||||||
{int(self.frame.size.width), int(self.frame.size.height)}};
|
{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];
|
[super reshape];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user