mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix some linting/prettier issues
This commit is contained in:
parent
89218ba596
commit
3700cf2d10
5 changed files with 39 additions and 15 deletions
|
@ -279,9 +279,20 @@ const renderLinearPointHandles = (
|
|||
const isSelected =
|
||||
!!appState.editingLinearElement?.selectedPointsIndices?.includes(idx);
|
||||
|
||||
const segmented = element.roundness ? (element.segmentSplitIndices ? element.segmentSplitIndices.includes(idx) : false) : false;
|
||||
const segmented = element.roundness
|
||||
? element.segmentSplitIndices
|
||||
? element.segmentSplitIndices.includes(idx)
|
||||
: false
|
||||
: false;
|
||||
|
||||
renderSingleLinearPoint(context, appState, point, radius, isSelected, segmented);
|
||||
renderSingleLinearPoint(
|
||||
context,
|
||||
appState,
|
||||
point,
|
||||
radius,
|
||||
isSelected,
|
||||
segmented,
|
||||
);
|
||||
});
|
||||
|
||||
//Rendering segment mid points
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue