Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Modules/TOF/src/TrendingCalibDiagnostics.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ void TrendingCalibDiagnostics::generatePlots()
// After the update, the title has a different size and it is not in the center anymore. We have to fix that.
if (auto title = dynamic_cast<TPaveText*>(c->GetPrimitive("title"))) {
title->SetBBoxCenterX(c->GetBBoxCenter().fX);
// It will have an effect only after invoking Draw again.
title->Draw();
c->Modified();
c->Update();
} else {
ILOG(Error, Devel) << "Could not get the title TPaveText of the plot '" << plot.name << "'." << ENDM;
}
Expand Down
4 changes: 2 additions & 2 deletions Modules/TOF/src/TrendingCalibLHCphase.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ void TrendingCalibLHCphase::generatePlots()
// After the update, the title has a different size and it is not in the center anymore. We have to fix that.
if (auto title = dynamic_cast<TPaveText*>(c->GetPrimitive("title"))) {
title->SetBBoxCenterX(c->GetBBoxCenter().fX);
// It will have an effect only after invoking Draw again.
title->Draw();
c->Modified();
c->Update();
} else {
ILOG(Error, Devel) << "Could not get the title TPaveText of the plot '" << plot.name << "'." << ENDM;
}
Expand Down
Loading