fix: fixed menu bar icons color on inactive screen for combined widget (#2131)

This commit is contained in:
Serhiy Mytrovtsiy
2024-10-28 17:23:23 +01:00
parent 24e95fe945
commit 9f2135f41a

View File

@@ -65,6 +65,7 @@ internal class CombinedView: NSObject, NSGestureRecognizerDelegate {
self.menuBarItem = NSStatusBar.system.statusItem(withLength: 0)
self.menuBarItem?.autosaveName = "CombinedModules"
self.menuBarItem?.button?.addSubview(self.view)
self.menuBarItem?.button?.image = NSImage()
if !self.combinedModulesPopup {
self.activeModules.forEach { (m: Module) in