Skip to content

Commit

Permalink
Revert "fix macOS change in [NSView isDecendantOf:]"
Browse files Browse the repository at this point in the history
This reverts commit cb49b30.
  • Loading branch information
scheffle committed Apr 21, 2024
1 parent 5055aab commit f507dfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vstgui/lib/platform/mac/cocoa/nsviewframe.mm
Expand Up @@ -329,7 +329,7 @@ static BOOL resignFirstResponder (id self, SEL _cmd)
firstResponder = nil;
if (firstResponder)
{
if (firstResponder != self && [firstResponder isDescendantOf:self])
if ([firstResponder isDescendantOf:self])
{
return YES;
}
Expand Down

0 comments on commit f507dfb

Please sign in to comment.