// Dragged implements fyne.Draggable interface
Dragged implements fyne.Draggable interface
// Dragged implements fyne . Draggable interface
func (sbar *SBar) Dragged(evt *fyne.DragEvent) {
	cord := evt.Position.Y + evt.Dragged.DY
	if sbar.horizontal {
		cord = evt.Position.X + evt.Dragged.DX
	}
	select {
	case sbar.actChan <- posAction{act: actionDrag, val: cord}:
	default:
		return
	}
	sbar.Refresh()
}
func ( sbar * SBar ) Dragged ( evt * fyne . DragEvent ) { cord := evt . Position . Y + evt . Dragged . DY if sbar . horizontal { cord = evt . Position . X + evt . Dragged . DX } select { case sbar . actChan <- posAction { act : actionDrag , val : cord } : default : return } sbar . Refresh ( ) }
Dragged implements fyne.Draggable interface
Dragged implements fyne . Draggable interface