mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 13:33:27 -07:00
Some more changes for BUG-2017, this simplified some of the code and adds different logic for Windows 10 apps.
This commit is contained in:
parent
71aa131f78
commit
c0d18c952c
3 changed files with 43 additions and 34 deletions
|
@ -826,7 +826,7 @@ namespace Greenshot.Forms {
|
|||
|
||||
if (_showDebugInfo && _selectedCaptureWindow != null)
|
||||
{
|
||||
string title = string.Format("#{0:X}{1}{2}", _selectedCaptureWindow.Handle.ToInt64(), _selectedCaptureWindow.Text.Length > 0 ? " - ": "", _selectedCaptureWindow.Text);
|
||||
string title = string.Format("#{0:X} - {1}", _selectedCaptureWindow.Handle.ToInt64(), _selectedCaptureWindow.Text.Length > 0 ? _selectedCaptureWindow.Text : _selectedCaptureWindow.Process.ProcessName);
|
||||
PointF debugLocation = new PointF(fixedRect.X, fixedRect.Y);
|
||||
graphics.DrawString(title, sizeFont, Brushes.DarkOrange, debugLocation);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue