|
@@ -111,7 +111,7 @@ namespace compdfkit_tools.Edit
|
|
{
|
|
{
|
|
EditEvent.Transparency = (int)(ImasgeOpacitySlider.Value * 255);
|
|
EditEvent.Transparency = (int)(ImasgeOpacitySlider.Value * 255);
|
|
EditEvent.UpdatePDFEditByEventArgs();
|
|
EditEvent.UpdatePDFEditByEventArgs();
|
|
- ImageThumbUI.Opacity = ImasgeOpacitySlider.Value;
|
|
|
|
|
|
+ SetImageThumb();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -132,7 +132,7 @@ namespace compdfkit_tools.Edit
|
|
{
|
|
{
|
|
EditEvent.Transparency = (int)(ImasgeOpacitySlider.Value * 255);
|
|
EditEvent.Transparency = (int)(ImasgeOpacitySlider.Value * 255);
|
|
EditEvent.UpdatePDFEditByEventArgs();
|
|
EditEvent.UpdatePDFEditByEventArgs();
|
|
- ImageThumbUI.Opacity = ImasgeOpacitySlider.Value;
|
|
|
|
|
|
+ SetImageThumb();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -244,7 +244,6 @@ namespace compdfkit_tools.Edit
|
|
public void SetImageTransparency(double transparency)
|
|
public void SetImageTransparency(double transparency)
|
|
{
|
|
{
|
|
ImasgeOpacitySlider.Value = transparency / 255D;
|
|
ImasgeOpacitySlider.Value = transparency / 255D;
|
|
- ImageThumbUI.Opacity = transparency / 255D;
|
|
|
|
OpacityTextBox.Text = string.Format("{0}%", (int)(Math.Ceiling(ImasgeOpacitySlider.Value * 100)));
|
|
OpacityTextBox.Text = string.Format("{0}%", (int)(Math.Ceiling(ImasgeOpacitySlider.Value * 100)));
|
|
}
|
|
}
|
|
}
|
|
}
|