mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
FEATURE-757: Store the last region in the greenshot.ini so it's available after a restart.
This commit is contained in:
parent
634a4cf262
commit
fc7faecaa5
5 changed files with 14 additions and 40 deletions
|
@ -253,6 +253,9 @@ namespace GreenshotPlugin.Core {
|
|||
[IniProperty("ProcessEXIFOrientation", Description = "When reading images from files or clipboard, use the EXIF information to correct the orientation", DefaultValue = "True")]
|
||||
public bool ProcessEXIFOrientation;
|
||||
|
||||
[IniProperty("LastCapturedRegion", Description = "The last used region, for reuse in the capture last region")]
|
||||
public Rectangle LastCapturedRegion;
|
||||
|
||||
// Specifies what THIS build is
|
||||
public BuildStates BuildState = BuildStates.RELEASE_CANDIDATE;
|
||||
|
||||
|
@ -429,6 +432,10 @@ namespace GreenshotPlugin.Core {
|
|||
if (OutputFileReduceColorsTo > 256) {
|
||||
OutputFileReduceColorsTo = 256;
|
||||
}
|
||||
|
||||
if (ContextMenuIconSize == Size.Empty) {
|
||||
ContextMenuIconSize = new Size(16,16);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue