mac try x2 png not work, revert
This commit is contained in:
parent
f54d72e900
commit
75c43a01fa
@ -214,14 +214,15 @@ pub fn make_tray() {
|
||||
let mode = dark_light::detect();
|
||||
let icon_path = match mode {
|
||||
dark_light::Mode::Dark => {
|
||||
if f > 1. {
|
||||
// still show big overflow icon in my test, so still use x1 png.
|
||||
if f > 2. {
|
||||
"mac-tray-light-x2.png"
|
||||
} else {
|
||||
"mac-tray-light.png"
|
||||
}
|
||||
}
|
||||
dark_light::Mode::Light => {
|
||||
if f > 1. {
|
||||
if f > 2. {
|
||||
"mac-tray-dark-x2.png"
|
||||
} else {
|
||||
"mac-tray-dark.png"
|
||||
|
Loading…
x
Reference in New Issue
Block a user