         }
     }
     
-    public var continuous: Bool = true // if set, value change events are generated any time the value changes due to dragging. default = YES
+    // if set, value change events are generated any time the value changes due to dragging. default = YES
+    @IBInspectable public var continuous: Bool = defaultContinuous
     
     @IBInspectable public var thickness: CGFloat = defaultThickness {
         didSet{

        self.value = aDecoder.decodeObjectForKey("value") as? CGFloat ?? defaultMinValue
        self.minimumValue = aDecoder.decodeObjectForKey("minimumValue") as? CGFloat ?? defaultMinValue
        self.maximumValue = aDecoder.decodeObjectForKey("maximumValue") as? CGFloat ?? defaultMaxValue

        self.minimumValueImage = aDecoder.decodeObjectForKey("minimumValueImage") as? UIImage
        self.maximumValueImage = aDecoder.decodeObjectForKey("maximumValueImage") as? UIImage
        
        self.thickness = aDecoder.decodeObjectForKey("thickness") as? CGFloat ?? defaultThickness
        

        
        aCoder.encodeObject(self.minimumValueImage, forKey: "minimumValueImage")
        aCoder.encodeObject(self.maximumValueImage, forKey: "maximumValueImage")
        
        aCoder.encodeBool(self.continuous, forKey: "continuous")
        
        aCoder.encodeObject(self.thickness, forKey: "thickness")
        
