Show region capture FPS in active monitor

This commit is contained in:
Jaex 2016-11-11 14:19:27 +03:00
parent 752cf120ed
commit cefae849df

View file

@ -579,7 +579,9 @@ private void CheckFPS()
private void DrawFPS(Graphics g, int offset)
{
ImageHelpers.DrawTextWithShadow(g, FPS.ToString(), new Point(offset, offset), infoFontBig, Brushes.White, Brushes.Black, new Point(0, 1));
Rectangle screenBounds = CaptureHelpers.GetActiveScreenBounds0Based();
ImageHelpers.DrawTextWithShadow(g, FPS.ToString(), screenBounds.Location.Add(offset), infoFontBig, Brushes.White, Brushes.Black, new Point(0, 1));
}
private void DrawInfoText(Graphics g, string text, Rectangle rect, Font font, int padding)