mirror of
https://github.com/greenshot/greenshot
synced 2025-08-19 21:13:23 -07:00
Code quality changes, and added the possibility to set the amount of colors for the Quantizer.
This commit is contained in:
parent
3b1560390b
commit
77a92d98c3
92 changed files with 690 additions and 653 deletions
|
@ -87,7 +87,7 @@ namespace GreenshotPlugin.Controls {
|
|||
/// Initialize the animation
|
||||
/// </summary>
|
||||
protected AnimatingForm() {
|
||||
this.Load += delegate {
|
||||
Load += delegate {
|
||||
if (EnableAnimation) {
|
||||
timer = new Timer();
|
||||
timer.Interval = 1000 / VRefresh;
|
||||
|
@ -97,7 +97,7 @@ namespace GreenshotPlugin.Controls {
|
|||
};
|
||||
|
||||
// Unregister at close
|
||||
this.FormClosing += delegate {
|
||||
FormClosing += delegate {
|
||||
if (timer != null) {
|
||||
timer.Stop();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue