let's do it with objc with svg support later.
This commit is contained in:
		
							parent
							
								
									75c43a01fa
								
							
						
					
					
						commit
						34f167b5fc
					
				@ -215,6 +215,7 @@ pub fn make_tray() {
 | 
				
			|||||||
    let icon_path = match mode {
 | 
					    let icon_path = match mode {
 | 
				
			||||||
        dark_light::Mode::Dark => {
 | 
					        dark_light::Mode::Dark => {
 | 
				
			||||||
            // still show big overflow icon in my test, so still use x1 png.
 | 
					            // still show big overflow icon in my test, so still use x1 png.
 | 
				
			||||||
 | 
					            // let's do it with objc with svg support later.
 | 
				
			||||||
            if f > 2. {
 | 
					            if f > 2. {
 | 
				
			||||||
                "mac-tray-light-x2.png"
 | 
					                "mac-tray-light-x2.png"
 | 
				
			||||||
            } else {
 | 
					            } else {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user