Changeset 5877


Ignore:
Timestamp:
04/08/14 17:33:39 (6 years ago)
Author:
avneesh-singh
Message:

minor

File:
1 edited

Legend:

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

    r5876 r5877  
    30213021 
    30223022                                    double time = (s.AudioRange.HasCursor || !useSelection ? s.AudioRange.CursorTime : s.AudioRange.SelectionBeginTime); 
    3023                          
     3023                                     
    30243024 
    30253025 
     
    30293029                    time = from ? (s.AudioRange.HasCursor || !useSelection ? s.AudioRange.CursorTime : s.AudioRange.SelectionBeginTime) : 
    30303030                        (s.AudioRange.HasCursor ? s.AudioRange.CursorTime : s.AudioRange.SelectionEndTime) - PreviewDuration; 
     3031                     
    30313032                    PlayPreview((PhraseNode)s.Node, time, PreviewDuration, from); 
     3033                     
    30323034                    return true; 
    30333035                } 
     
    31473149                    if (selectedNode != null && selectedNode is   PhraseNode && selectedNode.Index < selectedNode.ParentAs<SectionNode>().PhraseChildCount - 1) 
    31483150                    { 
    3149                         double time =IsPlayerActive? mCurrentPlaylist.CurrentTime: 
     3151                        double time =IsPlayerActive? mCurrentPlaylist.CurrentTimeInAsset: 
    31503152                            mView.Selection is AudioSelection? 
    31513153                            ( ((AudioSelection)mView.Selection).AudioRange.HasCursor? ((AudioSelection)mView.Selection).AudioRange.CursorTime: ((AudioSelection)mView.Selection).AudioRange.SelectionBeginTime): 
Note: See TracChangeset for help on using the changeset viewer.