This commit is contained in:
Riccardo 2025-04-17 22:56:25 +00:00 committed by GitHub
commit 4b01354591
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2830,9 +2830,14 @@ in the main thread.
- (void) _setNeedsDisplayInRect_real: (NSValue *)v
{
NSRect invalidRect = [v rectValue];
NSRect invalidRect;
NSView *currentView = _super_view;
if (nil == v)
return;
invalidRect = [v rectValue];
/*
* Limit to bounds, combine with old _invalidRect, and then check to see
* if the result is the same as the old _invalidRect - if it isn't then