Skip to content

Commit

Permalink
refactor: remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
godly-devotion committed Dec 5, 2024
1 parent ee718fa commit 0c78a9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Front Row/Main Menu/PlaybackCommands.swift
Original file line number Diff line number Diff line change
Expand Up @@ -121,15 +121,15 @@ struct PlaybackCommands: Commands {
Divider()

Button {
Task { await playEngine.frameStep(1) }
playEngine.frameStep(1)
} label: {
Text("Next Frame")
}
.keyboardShortcut(".", modifiers: [])
.disabled(!playEngine.isLoaded || presentedViewManager.isPresenting)

Button {
Task { await playEngine.frameStep(-1) }
playEngine.frameStep(-1)
} label: {
Text("Previous Frame")
}
Expand Down
2 changes: 0 additions & 2 deletions Front Row/Support/WindowController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ import SwiftUI

// MARK: - Float on Top

private var _isOnTop = false

var isOnTop: Bool {
get {
access(keyPath: \.isOnTop)
Expand Down

0 comments on commit 0c78a9a

Please sign in to comment.