mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-01 04:30:49 +12:00
Update image effect text in after capture tasks because it is not about watermark anymore
This commit is contained in:
parent
3293de0703
commit
2a2f42639f
|
@ -146,7 +146,7 @@ internal class Resources {
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Add image effects / watermark.
|
||||
/// Looks up a localized string similar to Add image effects.
|
||||
/// </summary>
|
||||
internal static string AfterCaptureTasks_AddImageEffects {
|
||||
get {
|
||||
|
|
|
@ -477,7 +477,7 @@ Would you like to download it?</value>
|
|||
<value>Manual</value>
|
||||
</data>
|
||||
<data name="AfterCaptureTasks_AddImageEffects" xml:space="preserve">
|
||||
<value>Add image effects / watermark</value>
|
||||
<value>Add image effects</value>
|
||||
</data>
|
||||
<data name="AfterCaptureTasks_DeleteFile" xml:space="preserve">
|
||||
<value>Delete file locally</value>
|
||||
|
|
|
@ -35,7 +35,7 @@ namespace ShareX.ImageEffectsLib
|
|||
public partial class WatermarkForm : Form
|
||||
{
|
||||
private WatermarkConfig config;
|
||||
private bool IsGuiReady;
|
||||
private bool isReady;
|
||||
|
||||
public WatermarkForm(WatermarkConfig watermarkConfig)
|
||||
{
|
||||
|
@ -85,7 +85,7 @@ private void WatermarkUI_Load(object sender, EventArgs e)
|
|||
|
||||
txtWatermarkImageLocation.Text = config.Image.ImageLocation;
|
||||
|
||||
IsGuiReady = true;
|
||||
isReady = true;
|
||||
UpdatePreview();
|
||||
}
|
||||
|
||||
|
@ -96,7 +96,7 @@ private void WatermarkUI_Resize(object sender, EventArgs e)
|
|||
|
||||
private void UpdatePreview()
|
||||
{
|
||||
if (IsGuiReady)
|
||||
if (isReady)
|
||||
{
|
||||
using (Bitmap bmp = new Bitmap(pbPreview.ClientSize.Width, pbPreview.ClientSize.Height))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue