         let gesture:UIPanGestureRecognizer = UIPanGestureRecognizer(
             target:self,
             action:#selector(actionPanning(sender:)))
+        gesture.delegate = self
         
         addGestureRecognizer(gesture)
     }

        self.percentUsed = percentUsed
        layoutSlider()
    }
}

import UIKit

class VSlider:UIView, UIGestureRecognizerDelegate
{
    private weak var viewBase:UIView!
    private weak var viewBar:VSliderBar!
