Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cochrane committed Mar 15, 2023
1 parent b43e695 commit 74da60f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions GLLara/GLLView.swift
Expand Up @@ -514,9 +514,7 @@ import GameController
if !contiuousInputActive && !somethingChangedLastFrame && !(viewDrawer?.runningAnimation ?? false) {
isPaused = true
}
if somethingChangedLastFrame {
somethingChangedLastFrame = false
}
somethingChangedLastFrame = false
}

// MARK: - Drag and drop
Expand Down Expand Up @@ -550,11 +548,9 @@ import GameController

func windowBecameKey() {
GLLView.lastActiveView = self
// TODO Pause and unpause updates in response to this
}

func windowResignedKey() {
// TODO Pause and unpause updates in response to this
}

// MARK: - Private methods
Expand Down

0 comments on commit 74da60f

Please sign in to comment.