能够区分拖动和按按钮