You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got a quick patch to be able to specify (override) the default location of the GodEye button:
GodEye/Classes/Configuration/Configuration.swift
Add:
open class Configuration: NSObject {
open private(set) var command = CommandConfiguration()
/// default switch configuration
open private(set) var defaultSwitch = SwitchConfiguration()
open var location:CGPoint? // Override default location of the GodEye button
}
There are cleaner ways of doing this, of course (e.g. put defaults in header, then just overwrite the x: and y: values), but I wanted to be the least intrusive as possible. :)
The text was updated successfully, but these errors were encountered:
I've got a quick patch to be able to specify (override) the default location of the GodEye button:
GodEye/Classes/Configuration/Configuration.swift
Add:
GodEye/Classes/UIWindow+GodEye.swift
Replace:
With:
Usage:
There are cleaner ways of doing this, of course (e.g. put defaults in header, then just overwrite the x: and y: values), but I wanted to be the least intrusive as possible. :)
The text was updated successfully, but these errors were encountered: