mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-14 06:33:09 -06:00
16 lines
440 B
Swift
16 lines
440 B
Swift
#if DEBUG
|
|
import AppKit
|
|
import Foundation
|
|
|
|
extension CanvasWindowController {
|
|
static func _testStoredFrameKey(sessionKey: String) -> String {
|
|
self.storedFrameDefaultsKey(sessionKey: sessionKey)
|
|
}
|
|
|
|
static func _testStoreAndLoadFrame(sessionKey: String, frame: NSRect) -> NSRect? {
|
|
self.storeRestoredFrame(frame, sessionKey: sessionKey)
|
|
return self.loadRestoredFrame(sessionKey: sessionKey)
|
|
}
|
|
}
|
|
#endif
|