diff options
author | bobzel <zzzman@gmail.com> | 2024-03-30 00:36:19 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-03-30 00:36:19 -0400 |
commit | ad1b41beaa0c55487d41381bddd80ab1a76e7fb5 (patch) | |
tree | d89f07c5a579992e415bbcb5fefd2fa7a8f99859 /src/client/views/InkControlPtHandles.tsx | |
parent | 75387187e260a7f569b73b1e6e8057e5623b9650 (diff) |
added Labels button for turning ink labels on/off. added Pixels and Rotate buttons for images. enabled ink as template for text : check for ink stroke data on layout doc if it's not on data doc & started to have style provider check for properties on layout doc instead of data (background color, boxShadow). fixed toggling key/value on and off when node is selected.
Diffstat (limited to 'src/client/views/InkControlPtHandles.tsx')
-rw-r--r-- | src/client/views/InkControlPtHandles.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/InkControlPtHandles.tsx b/src/client/views/InkControlPtHandles.tsx index 01d52135a..edc6b404b 100644 --- a/src/client/views/InkControlPtHandles.tsx +++ b/src/client/views/InkControlPtHandles.tsx @@ -239,8 +239,8 @@ export class InkEndPtHandles extends ObservableReactComponent<InkEndProps> { const hdl = (key: string, pt: PointData, dragFunc: (e: React.PointerEvent) => void) => ( <circle key={key} - cx={pt.X} - cy={pt.Y} + cx={pt?.X} + cy={pt?.Y} r={this._props.screenSpaceLineWidth * 2} fill={this._overStart ? '#aaaaaa' : '#99999977'} stroke={'#00007777'} |