Add shortcut

This commit is contained in:
Julien Richard 2022-01-15 09:05:04 +01:00
commit 0c5abe915c
2 changed files with 4 additions and 1 deletions

View file

@ -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);
// //

View file

@ -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))