diff --git a/graf2d/graf/src/TBox.cxx b/graf2d/graf/src/TBox.cxx index 667dfe5cde69f..cc7978807f57a 100644 --- a/graf2d/graf/src/TBox.cxx +++ b/graf2d/graf/src/TBox.cxx @@ -544,6 +544,8 @@ void TBox::ExecuteEvent(Int_t event, Int_t px, Int_t py) case kButton1Up: if (gROOT->IsEscaped()) { gROOT->SetEscape(kFALSE); + if (opaque || ropaque) + gPad->ShowGuidelines(this, event); if (opaque) { this->SetX1(oldX1); this->SetY1(oldY1); diff --git a/graf2d/graf/src/TEllipse.cxx b/graf2d/graf/src/TEllipse.cxx index f48ba4f50ae7f..3b37728ca4d4f 100644 --- a/graf2d/graf/src/TEllipse.cxx +++ b/graf2d/graf/src/TEllipse.cxx @@ -480,6 +480,7 @@ void TEllipse::ExecuteEvent(Int_t event, Int_t px, Int_t py) if (gROOT->IsEscaped()) { gROOT->SetEscape(kFALSE); if (opaque) { + gPad->ShowGuidelines(this, event); this->SetX1(oldX1); this->SetY1(oldY1); this->SetR1(oldR1); diff --git a/graf2d/graf/src/TLine.cxx b/graf2d/graf/src/TLine.cxx index 8ce2afa47606a..b12c85d70044e 100644 --- a/graf2d/graf/src/TLine.cxx +++ b/graf2d/graf/src/TLine.cxx @@ -289,10 +289,12 @@ void TLine::ExecuteEvent(Int_t event, Int_t px, Int_t py) if (gROOT->IsEscaped()) { gROOT->SetEscape(kFALSE); if (opaque) { + gPad->ShowGuidelines(this, event); SetX1(oldX1); SetY1(oldY1); SetX2(oldX2); SetY2(oldY2); + SetNDC(ndcsav); gPad->Modified(kTRUE); gPad->Update(); }