mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: Skia rendering issues (#4200)
This commit is contained in:
parent
6b24592e4a
commit
f59e608f18
3 changed files with 7 additions and 6 deletions
|
@ -323,12 +323,13 @@ export const generateRoughOptions = (
|
|||
roughness: element.roughness,
|
||||
stroke: element.strokeColor,
|
||||
preserveVertices: continuousPath,
|
||||
// disable decimals to fix Skia rendering issues #4046
|
||||
fixedDecimalPlaceDigits: 0,
|
||||
};
|
||||
|
||||
switch (element.type) {
|
||||
case "rectangle":
|
||||
case "diamond":
|
||||
case "image":
|
||||
case "ellipse": {
|
||||
options.fillStyle = element.fillStyle;
|
||||
options.fill =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue