fix: removed window moveToActiveSpace behavior (#1174)

This commit is contained in:
Serhiy Mytrovtsiy
2022-11-17 17:12:14 +01:00
parent 303119fb48
commit ed806a54f9
5 changed files with 6 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1400"
LastUpgradeVersion = "1410"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
@@ -54,15 +54,15 @@
<CommandLineArguments>
<CommandLineArgument
argument = "list -t"
isEnabled = "YES">
isEnabled = "NO">
</CommandLineArgument>
<CommandLineArgument
argument = "fans"
isEnabled = "NO">
</CommandLineArgument>
<CommandLineArgument
argument = "fan -id 0 -v 2761"
isEnabled = "NO">
argument = "fan 0"
isEnabled = "YES">
</CommandLineArgument>
<CommandLineArgument
argument = "set -k &quot;FS! &quot; -v 0000"

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1400"
LastUpgradeVersion = "1410"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

View File

@@ -17,7 +17,7 @@
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>420</string>
<string>424</string>
<key>Description</key>
<string>Simple macOS system monitor in your menu bar</string>
<key>LSApplicationCategoryType</key>

View File

@@ -42,7 +42,6 @@ class SettingsWindow: NSWindow, NSWindowDelegate {
self.contentViewController = self.viewController
self.animationBehavior = .default
self.collectionBehavior = .moveToActiveSpace
self.titlebarAppearsTransparent = true
if #available(OSX 10.14, *) {
self.appearance = NSAppearance(named: .darkAqua)

View File

@@ -37,7 +37,6 @@ internal class SetupWindow: NSWindow, NSWindowDelegate {
self.contentViewController = self.vc
self.animationBehavior = .default
self.collectionBehavior = .moveToActiveSpace
self.titlebarAppearsTransparent = true
self.delegate = self
self.title = localizedString("Stats Setup")