mirror of
https://github.com/greenshot/greenshot
synced 2025-07-14 17:13:44 -07:00
Fixed Transparency issues: always using transparent when the captured image is transparent, if not use the DWMBackgroundColor. (and fixed a compile error due to forgotten commit)
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1671 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
d3cb2d3e41
commit
096c33656c
3 changed files with 22 additions and 13 deletions
|
@ -74,7 +74,7 @@ namespace ExternalCommand {
|
|||
Image icon = null;
|
||||
if (File.Exists(config.commandlines[presetCommand])) {
|
||||
try {
|
||||
icon = GetExeIcon(config.commandlines[presetCommand]);
|
||||
icon = GetExeIcon(config.commandlines[presetCommand], 0);
|
||||
} catch{};
|
||||
}
|
||||
iconCache.Add(presetCommand, icon);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue