mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Small cleanups [skip ci]
This commit is contained in:
parent
02a06a12b0
commit
98e6be5eb6
171 changed files with 1607 additions and 1769 deletions
|
@ -26,7 +26,7 @@ using GreenshotPlugin.Core;
|
|||
|
||||
namespace Greenshot.Forms {
|
||||
public partial class DropShadowSettingsForm : BaseForm {
|
||||
private DropShadowEffect effect;
|
||||
private readonly DropShadowEffect effect;
|
||||
|
||||
public DropShadowSettingsForm(DropShadowEffect effect) {
|
||||
this.effect = effect;
|
||||
|
@ -50,10 +50,5 @@ namespace Greenshot.Forms {
|
|||
effect.ShadowSize = (int)thickness.Value;
|
||||
DialogResult = DialogResult.OK;
|
||||
}
|
||||
|
||||
private void ButtonReset_Click(object sender, EventArgs e) {
|
||||
effect.Reset();
|
||||
ShowSettings();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue