mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-03-04 17:44:46 -07:00
Revert "Revert "Set NSWindow color space to sRGB on macOS"" (#12546)
Some checks are pending
Build all / build_linux (push) Waiting to run
Build all / build_all (arm64, ${{ vars.SELF_HOSTED && 'orca-macos-arm64' || 'macos-14' }}) (push) Waiting to run
Build all / build_all (windows-latest) (push) Waiting to run
Build all / Unit Tests (push) Blocked by required conditions
Build all / Flatpak (push) Waiting to run
Some checks are pending
Build all / build_linux (push) Waiting to run
Build all / build_all (arm64, ${{ vars.SELF_HOSTED && 'orca-macos-arm64' || 'macos-14' }}) (push) Waiting to run
Build all / build_all (windows-latest) (push) Waiting to run
Build all / Unit Tests (push) Blocked by required conditions
Build all / Flatpak (push) Waiting to run
re: https://github.com/OrcaSlicer/OrcaSlicer/pull/10827#issuecomment-3713871962 Let's give this another try :)
This commit is contained in:
parent
abd3bce88a
commit
49d2a326db
1 changed files with 5 additions and 0 deletions
|
|
@ -53,6 +53,11 @@ 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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue