         }
     }
 
-    // override a lesser-used operator to simplify diplay mode checks
-    static func ~= (lhs: Self, rhs: DisplayInfo) -> Bool {
-        var bool = lhs.width == rhs.width
-
-        if lhs.height != nil { bool = bool && lhs.height == rhs.height }
-        if lhs.scale != nil { bool = bool && lhs.scale == rhs.scale }
-        return bool
+    // override a lesser-used operator to simplify display mode checks
+    static func == (lhs: Self, rhs: DisplayInfo) -> Bool {
+        return rhs == lhs
     }
 }
 

            frequency = Int( timeScale / time.timeValue )
        }
    }

    static func ~= (lhs: Self, rhs: DisplayUserSetting) -> Bool {
        return rhs ~= lhs
    }
}


    }

    func set(with setting: DisplayUserSetting) {
        if let di = displayInfo.first(where: { setting == $0 }) {
            if di.modeID != modeID { _set(di) }
        } else {
            print("This mode is unavailable")
        }
