mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 00:08:39 +09:00
Issue #2847 - Extend -moz-os-version media query with win11.
Resolves #2847
This commit is contained in:
parent
7af71cb345
commit
723180132d
3 changed files with 6 additions and 2 deletions
|
|
@ -27,7 +27,9 @@ nsLookAndFeel::GetOperatingSystemVersion()
|
|||
return version;
|
||||
}
|
||||
|
||||
if (IsWin10OrLater()) {
|
||||
if (IsWin11OrLater()) {
|
||||
version = eOperatingSystemVersion_Windows11;
|
||||
} else if (IsWin10OrLater()) {
|
||||
version = eOperatingSystemVersion_Windows10;
|
||||
} else if (IsWin8OrLater()) {
|
||||
version = eOperatingSystemVersion_Windows8;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue