added unzoom to the original range action key 'u'
This commit is contained in:
parent
f9971d4858
commit
84718ab60c
@ -561,9 +561,9 @@ void PMusrCanvas::HandleCmdKey(Int_t event, Int_t x, Int_t y, TObject *selected)
|
|||||||
|
|
||||||
// handle keys and popup menu entries
|
// handle keys and popup menu entries
|
||||||
bool relevantKey = false;
|
bool relevantKey = false;
|
||||||
if (x == 'q') {
|
if (x == 'q') { // quit
|
||||||
Done(0);
|
Done(0);
|
||||||
} else if (x == 'd') {
|
} else if (x == 'd') { // difference
|
||||||
relevantKey = true;
|
relevantKey = true;
|
||||||
// toggle difference tag
|
// toggle difference tag
|
||||||
fDifferenceView = !fDifferenceView;
|
fDifferenceView = !fDifferenceView;
|
||||||
@ -573,7 +573,9 @@ void PMusrCanvas::HandleCmdKey(Int_t event, Int_t x, Int_t y, TObject *selected)
|
|||||||
} else {
|
} else {
|
||||||
fPopupMain->UnCheckEntry(P_MENU_ID_DIFFERENCE+P_MENU_PLOT_OFFSET*fPlotNumber);
|
fPopupMain->UnCheckEntry(P_MENU_ID_DIFFERENCE+P_MENU_PLOT_OFFSET*fPlotNumber);
|
||||||
}
|
}
|
||||||
} else if (x == 'f') {
|
} else if (x == 'u') { // unzoom to the original range
|
||||||
|
relevantKey = true;
|
||||||
|
} else if (x == 'f') { // Fourier
|
||||||
relevantKey = true;
|
relevantKey = true;
|
||||||
if (fCurrentPlotView == PV_DATA) { // current view is data view
|
if (fCurrentPlotView == PV_DATA) { // current view is data view
|
||||||
// uncheck data popup entry
|
// uncheck data popup entry
|
||||||
|
Loading…
x
Reference in New Issue
Block a user