Skip to content

Commit

Permalink
[#59] TrackEditor: Improvements and bugfixes (Part 71: Fixed interact…
Browse files Browse the repository at this point in the history
…ivity)
  • Loading branch information
tomas-nestorovic committed Apr 25, 2022
1 parent 04aa0b1 commit 92e7c12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Main/src/Image_TrackEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -914,6 +914,8 @@
case ID_PREV_PANE:
if (const POSITION pos=timeEditor.GetParseEvents().GetPositionByStart(0,TParseEvent::FUZZY_OK,TParseEvent::FUZZY_BAD))
pCmdUi->Enable( timeEditor.GetParseEvents().GetAt(pos).tStart<timeEditor.GetCenterTime() );
else
pCmdUi->Enable( FALSE );
return TRUE;
case ID_NEXT_PANE:
pCmdUi->Enable( timeEditor.GetParseEvents().GetPositionByStart(timeEditor.GetCenterTime()+1,TParseEvent::FUZZY_OK,TParseEvent::FUZZY_BAD)!=nullptr );
Expand Down

0 comments on commit 92e7c12

Please sign in to comment.