Changeset 7612


Ignore:
Timestamp:
02/23/19 17:00:56 (8 weeks ago)
Author:
rohit_tandon
Message:

-> when comment dialog is opened playback will pause.
-> After comment dialog is closed playback will now start from the selected phrase/cursor.

Location:
trunk/Obi/Obi/ProjectView
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Obi/Obi/ProjectView/ContentView.cs

    r7610 r7612  
    59915991            if (mProjectView.Selection.Node is EmptyNode && mProjectView.IsBlockSelected) 
    59925992            { 
     5993                if (this.mProjectView.TransportBar.IsPlayerActive) 
     5994                { 
     5995                    this.mProjectView.TransportBar.Pause(); 
     5996                } 
    59935997                ActiveStrip.ShowEditLabelToAddComment(); 
    59945998 
  • trunk/Obi/Obi/ProjectView/Strip.cs

    r7610 r7612  
    13741374            mLabel.Focus(); 
    13751375            if ((mContentView.SelectedSection != mNode || mContentView.Selection is StripIndexSelection) && 
    1376                 !mContentView.Focusing) 
     1376                !mContentView.Focusing && !this.IsCommentEditLabelActive) 
    13771377            { 
    13781378                mContentView.SelectedNode = mNode; 
     
    18461846            m_EditableLabel.AddComment -= new EventHandler(EditableLabel_AddComment); 
    18471847            m_EditableLabel.CloseComment -= new EventHandler(EditLabel_CloseAddComment); 
    1848             this.Controls.Remove(m_EditableLabel); 
    18491848 
    18501849            if (m_TimeOfCursor != 0 && m_SelectedNodeToAddComment is PhraseNode) 
     
    18581857            } 
    18591858            m_TimeOfCursor = 0; 
     1859 
     1860            this.Controls.Remove(m_EditableLabel); 
    18601861        } 
    18611862        public void AlignCommentEditLabel() 
Note: See TracChangeset for help on using the changeset viewer.