|
@@ -122,7 +122,7 @@ namespace Compdfkit_Tools.PDFControlUI
|
|
|
return;
|
|
|
}
|
|
|
ColorPickerControl.Brush = new SolidColorBrush(ParamConverter.ConverterByteForColor(inkParam.InkColor));
|
|
|
- CPDFOpacityControl.OpacityValue = (int)(inkParam.Transparency * 100);
|
|
|
+ CPDFOpacityControl.OpacityValue = (int)(inkParam.Transparency / 255D * 100);
|
|
|
CPDFThicknessControl.Thickness = Convert.ToInt16(inkParam.Thickness);
|
|
|
ColorPickerControl.SetCheckedForColor(ParamConverter.ConverterByteForColor(inkParam.InkColor));
|
|
|
NoteTextBox.Text = inkParam.Content;
|