mirror of
https://github.com/greenshot/greenshot
synced 2025-08-22 06:23:24 -07:00
Add shortcut
This commit is contained in:
parent
8d1ac3b4ba
commit
0c5abe915c
2 changed files with 4 additions and 1 deletions
|
@ -452,7 +452,7 @@ namespace Greenshot.Editor.Forms {
|
||||||
this.btnEmoji.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
this.btnEmoji.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
this.btnEmoji.Image = ((System.Drawing.Image)(resources.GetObject("btnEmoji.Image")));
|
this.btnEmoji.Image = ((System.Drawing.Image)(resources.GetObject("btnEmoji.Image")));
|
||||||
this.btnEmoji.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this.btnEmoji.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.btnEmoji.Text = "Emoji";
|
this.btnEmoji.Text = "Emoji (M)";
|
||||||
this.btnEmoji.Name = "btnEmoji";
|
this.btnEmoji.Name = "btnEmoji";
|
||||||
this.btnEmoji.Click += new System.EventHandler(this.BtnEmojiClick);
|
this.btnEmoji.Click += new System.EventHandler(this.BtnEmojiClick);
|
||||||
//
|
//
|
||||||
|
|
|
@ -988,6 +988,9 @@ namespace Greenshot.Editor.Forms
|
||||||
case Keys.C:
|
case Keys.C:
|
||||||
BtnCropClick(sender, e);
|
BtnCropClick(sender, e);
|
||||||
break;
|
break;
|
||||||
|
case Keys.M:
|
||||||
|
BtnEmojiClick(sender, e);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (e.Modifiers.Equals(Keys.Control))
|
else if (e.Modifiers.Equals(Keys.Control))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue