Skip to content

Commit

Permalink
Merge pull request #11 from p-x9/fix/set-window-scene
Browse files Browse the repository at this point in the history
fix to set window scene correctly
  • Loading branch information
p-x9 authored Apr 18, 2023
2 parents b36c502 + ad6a04a commit e0de44f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/TouchTracker/Cocoa/TouchTrackingUIView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public class TouchTrackingUIView: UIView {
window.location = location
window.center = .init(x: location.x + offset.x,
y: location.y + offset.y)
window.windowScene = window.windowScene
window.windowScene = self.window?.windowScene
window.isHidden = false
}
}
Expand Down

0 comments on commit e0de44f

Please sign in to comment.