public void DragRight_BeginScrolling(Point location) { m_selectionList.IsScrolling = true; m_beginDragRightScrollingPos = location; m_scrollAction = new Action_Scroll(m_selectionList.Selection[0]); SceneEdEventNotifier.Instance.Emit_RefreshScene(RefreshSceneOpt.Refresh_All); }
public void DragRight_EndScrolling(Point location) { if (m_scrollAction != null) { m_selectionList.IsScrolling = false; Point scrollOffset = m_beginDragRightScrollingPos - (Size)location; m_scrollAction.EndScrollOffset(scrollOffset); ActionQueue.Instance.PushAction(m_scrollAction); m_scrollAction = null; } }