Skip to content

Commit

Permalink
Revert "#5136 Hightlight Active Row clicking in sequencer"
Browse files Browse the repository at this point in the history
This reverts commit 7058073.
  • Loading branch information
dkulp committed Jan 27, 2025
1 parent 12928d8 commit 64d7c35
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Issue Tracker is found here: www.github.com/xLightsSequencer/xLights/issues
XLIGHTS/NUTCRACKER RELEASE NOTES
---------------------------------
2025.02 January 27, 2024
- enh (cybercop23) Clicking in sequencer should properly highlight the row
- enh (cybercop23) Enable replay button without needing to first hit play
- enh (cybercop23) Add ability to remove model(s) from existing groups from popup menus
- enh (cybercop23) Add popup menu option to add timing track to all views
Expand Down
1 change: 0 additions & 1 deletion xLights/sequencer/EffectsGrid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1557,7 +1557,6 @@ void EffectsGrid::mouseDown(wxMouseEvent& event) {
int row = GetRow(event.GetY());
if (row >= mSequenceElements->GetVisibleRowInformationSize() || row < 0)
return;
((MainSequencer*)mParent)->SetSelectedRow(row);
mSequenceElements->get_undo_mgr().CreateUndoStep();
mSequenceElements->get_undo_mgr().SetCaptureUndo(true);
int effectIndex;
Expand Down
4 changes: 0 additions & 4 deletions xLights/sequencer/MainSequencer.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@ class MainSequencer: public wxPanel
void ToggleModelPreview();
void TouchPlayControl(const std::string &event);

int GetSelectedRow() const { return _mSelectedRow; }
void SetSelectedRow(int row) { _mSelectedRow = row; }

//(*Declarations(MainSequencer)
EffectsGrid* PanelEffectGrid;
RowHeading* PanelRowHeadings;
Expand Down Expand Up @@ -160,5 +157,4 @@ class MainSequencer: public wxPanel
bool mCanUndo;
bool mPasteByCell;
std::string _savedTopModel;
int _mSelectedRow = -1;
};
1 change: 0 additions & 1 deletion xLights/sequencer/RowHeading.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1540,7 +1540,6 @@ void RowHeading::render( wxPaintEvent& event )
#endif
if (mSequenceElements->GetXLightsFrame()->GetMainSequencer() == nullptr) return;

SetSelectedRow(mSequenceElements->GetXLightsFrame()->GetMainSequencer()->GetSelectedRow());
wxPaintDC dc(this);

wxCoord w,h;
Expand Down

0 comments on commit 64d7c35

Please sign in to comment.