Skip to content

Commit 8930868

Browse files
Merge pull request #2867 from syncfusion-content/ej2-880554-imgg
880554: Image editor freehand colour change was not working in all EJ2 platforms
2 parents 92c7c94 + 23e0987 commit 8930868

File tree

2 files changed

+2
-0
lines changed
  • ej2-asp-core-mvc/code-snippet/image-editor/annotation/adjust-stroke-color

2 files changed

+2
-0
lines changed

ej2-asp-core-mvc/code-snippet/image-editor/annotation/adjust-stroke-color/razor

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
function ShapeChanging(args) {
1616
if (args.currentShapeSettings.type === 'FreehandDraw') {
1717
args.currentShapeSettings.strokeColor = 'red';
18+
args.currentShapeSettings.strokeWidth = 10;
1819
}
1920
}
2021

ej2-asp-core-mvc/code-snippet/image-editor/annotation/adjust-stroke-color/tagHelper

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
function shapeChanging(args) {
1616
if (args.currentShapeSettings.type === 'FreehandDraw') {
1717
args.currentShapeSettings.strokeColor = 'red';
18+
args.currentShapeSettings.strokeWidth = 10;
1819
}
1920
}
2021
</script>

0 commit comments

Comments
 (0)