Revert "Set NSWindow color space to sRGB on macOS" (#10892)

Revert "Set NSWindow color space to sRGB on macOS (#10827)"

This reverts commit 32ca697e9e.
This commit is contained in:
SoftFever
2025-09-28 14:32:15 +08:00
committed by GitHub
parent 32ca697e9e
commit 614f93053a

View File

@@ -53,11 +53,6 @@ float RetinaHelper::get_scale_factor()
[nc addObserver:self selector:@selector(windowDidChangeBackingProperties:)
name:NSWindowDidChangeBackingPropertiesNotification object:nil];
}
NSWindow* window = [aView window];
if (window) {
[window setColorSpace:[NSColorSpace sRGBColorSpace]];
}
}
return self;
}