mirror of
https://github.com/lwouis/alt-tab-macos.git
synced 2026-05-24 11:20:36 +00:00
feat: space number start at 1 instead of 0 (#838)
This commit is contained in:
@@ -45,7 +45,7 @@ class Spaces {
|
||||
idsAndIndexes.removeAll()
|
||||
screenSpacesMap.removeAll()
|
||||
visibleSpaces.removeAll()
|
||||
var spaceIndex = 0
|
||||
var spaceIndex = SpaceIndex(1)
|
||||
(CGSCopyManagedDisplaySpaces(cgsMainConnectionId) as! [NSDictionary]).forEach { (screen: NSDictionary) in
|
||||
let display = screen["Display Identifier"] as! ScreenUuid
|
||||
(screen["Spaces"] as! [NSDictionary]).forEach { (space: NSDictionary) in
|
||||
|
||||
Reference in New Issue
Block a user