fix: inconsistent font size and color for all type text widgets in the template flow

This commit is contained in:
RaktimaNXG
2024-06-27 13:20:17 +05:30
parent af52bb30f5
commit 76f4ccfcf3
2 changed files with 4 additions and 5 deletions
+2 -2
View File
@@ -1708,8 +1708,8 @@ function PlaceHolderSign() {
...position,
options: {
...position.options,
fontSize: fontSize,
fontColor: fontColor
fontSize: fontSize || currWidgetsDetails?.options?.fontSize,
fontColor: fontColor || currWidgetsDetails?.options?.fontColor
}
};
}
@@ -1248,7 +1248,6 @@ const TemplatePlaceholder = () => {
setIsRadio(false);
setIsCheckbox(false);
};
const handleSaveFontSize = () => {
const filterSignerPos = signerPos.filter((data) => data.Id === uniqueId);
if (filterSignerPos.length > 0) {
@@ -1267,8 +1266,8 @@ const TemplatePlaceholder = () => {
...position,
options: {
...position.options,
fontSize: fontSize,
fontColor: fontColor
fontSize: fontSize || currWidgetsDetails?.options?.fontSize,
fontColor: fontColor || currWidgetsDetails?.options?.fontColor
}
};
}