Skip to content

Commit

Permalink
Delete: Other Application Maximized Picker And its ViewModel Property
Browse files Browse the repository at this point in the history
This function is probably impossible to achieve since AppKit doesn't provide any delegate method nor notification center for this event
  • Loading branch information
haren724 committed Sep 2, 2023
1 parent 9f89ced commit 9928529
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 deletions Open Wallpaper Engine/SettingsView/PerformancePage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,6 @@ struct PerformancePage: SettingsPage {
Text("Pause").tag(GSPlayback.pause)
}

Picker("Other Application Maximized:", selection: $viewModel.settings.otherApplicationMaximized) {
Text("Keep Running").tag(GSPlayback.keepRunning)
Text("Mute").tag(GSPlayback.mute)
Text("Pause").tag(GSPlayback.pause)
Text("Stop (free memory)").tag(GSPlayback.stop)
}

Picker("Other Application Fullscreen:", selection: $viewModel.settings.otherApplicationFullscreen) {
Text("Keep Running").tag(GSPlayback.keepRunning)
Text("Mute").tag(GSPlayback.mute)
Expand Down
1 change: 0 additions & 1 deletion Open Wallpaper Engine/SettingsView/SettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ enum GSTextureResolutionQuality: String, CaseIterable, Identifiable, Codable {

struct GlobalSettings: Codable, Equatable {
var otherApplicationFocused = GSPlayback.keepRunning
var otherApplicationMaximized = GSPlayback.keepRunning
var otherApplicationFullscreen = GSPlayback.keepRunning
var otherApplicationPlayingAudio = GSPlayback.keepRunning
var displayAsleep = GSPlayback.keepRunning
Expand Down

0 comments on commit 9928529

Please sign in to comment.