Make sure to update image size label theme

This commit is contained in:
Jaex 2019-07-08 03:10:53 +03:00
parent ebb1723eab
commit 97d375f922
2 changed files with 2 additions and 2 deletions

View file

@ -166,6 +166,7 @@ public MyPictureBox()
{ {
InitializeComponent(); InitializeComponent();
Text = ""; Text = "";
UpdateTheme();
UpdateImageSizeLabel(); UpdateImageSizeLabel();
} }
@ -176,8 +177,6 @@ private void UpdateImageSizeLabel()
public void UpdateTheme() public void UpdateTheme()
{ {
UpdateCheckers(true);
lblImageSize.BackColor = ShareXResources.BackgroundColor; lblImageSize.BackColor = ShareXResources.BackgroundColor;
lblImageSize.ForeColor = ShareXResources.TextColor; lblImageSize.ForeColor = ShareXResources.TextColor;
} }

View file

@ -799,6 +799,7 @@ private void UpdateTheme()
} }
pbPreview.UpdateTheme(); pbPreview.UpdateTheme();
pbPreview.UpdateCheckers(true);
ucTaskThumbnailView.UpdateTheme(); ucTaskThumbnailView.UpdateTheme();
ucNews.UpdateTheme(); ucNews.UpdateTheme();
} }