Bug 1137004 - Changed the location of the counter so when it is used in a maximized window it is no longer cut off, and added a little left padding. r=mattwoodrow

This commit is contained in:
Kyle Thomas 2015-03-03 18:47:00 -05:00
parent a16330d672
commit a966389139

View File

@ -443,7 +443,7 @@ LayerManagerComposite::RenderDebugOverlay(const Rect& aBounds)
#endif
float fillRatio = mCompositor->GetFillRatio();
mFPS->DrawFPS(now, drawFrameColorBars ? 10 : 0, 0, unsigned(fillRatio), mCompositor);
mFPS->DrawFPS(now, drawFrameColorBars ? 10 : 1, 2, unsigned(fillRatio), mCompositor);
if (mUnusedApzTransformWarning) {
// If we have an unused APZ transform on this composite, draw a 20x20 red box