mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
Don't set icon for shape manager menu
This commit is contained in:
parent
ad5173241f
commit
c4d36a85d6
2 changed files with 6 additions and 3 deletions
|
@ -64,9 +64,12 @@ public static string UserAgent
|
|||
|
||||
public static int CheckerSize { get; } = 15;
|
||||
|
||||
public static void ApplyThemeToForm(Form form)
|
||||
public static void ApplyThemeToForm(Form form, bool setIcon = true)
|
||||
{
|
||||
form.Icon = Icon;
|
||||
if (setIcon)
|
||||
{
|
||||
form.Icon = Icon;
|
||||
}
|
||||
|
||||
if (ApplyTheme)
|
||||
{
|
||||
|
|
|
@ -1050,7 +1050,7 @@ internal void CreateToolbar()
|
|||
tsMain.PerformLayout();
|
||||
menuForm.ResumeLayout(false);
|
||||
|
||||
ShareXResources.ApplyThemeToForm(menuForm);
|
||||
ShareXResources.ApplyThemeToForm(menuForm, false);
|
||||
|
||||
menuForm.Show(Form);
|
||||
|
||||
|
|
Loading…
Reference in a new issue