visibility improvements
This commit is contained in:
1 parent
5fd8a7c587
commit
78be18ed89
5 files changed
+45
-33
No files matched your search
@@ -458,12 +458,11 @@ import UIKit
|
||||
CommandManager.mouseButtonMappings.keys.map { $0 as String },
|
||||
CommandManager.touchPadCmds.map { $0 as String }
|
||||
]
|
||||
.lazy // 零内存开销
|
||||
.lazy
|
||||
.flatMap { $0 } // 三维展开
|
||||
.map(String.init(describing:)) // 安全类型转换
|
||||
|
||||
let keys = combinedStrings.joined(separator: "|")
|
||||
print(keys)
|
||||
let pattern = "^(?:\(keys))(?:-(?:\(keys)))*(?:-\\d+MS)?$"
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user