We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f254ab2 commit eb68ce4Copy full SHA for eb68ce4
radeon-profile/components/rpplot.h
@@ -141,7 +141,7 @@ class RPPlot : public QChartView
141
axis->setMax(value + 5);
142
return;
143
case ValueUnit::PERCENT:
144
- axis->setMax(value + 10);
+ axis->setMax((value + 10 > 100) ? 100 : value + 10);
145
146
case ValueUnit::MEGABYTE:
147
axis->setMax(value + 50);
0 commit comments