From 661c1367d27fa23c3aeb62369e92cd36eb5edabd Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Sat, 21 Oct 2023 00:41:23 -0400
Subject: change to doc decorations to be more "lightweight". made linkBox
 render links in a freeform view as a DocView.  added an auto-reset view
 option for freeforms.  fixed highlighting ink strokes.  Made groups behave
 better for selecting things 'inside' the group bounding box that aren't in
 the group.   Added vertically centered text option.

---
 src/client/views/InkControlPtHandles.tsx | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

(limited to 'src/client/views/InkControlPtHandles.tsx')

diff --git a/src/client/views/InkControlPtHandles.tsx b/src/client/views/InkControlPtHandles.tsx
index 07e3270b1..0d7f7ebd8 100644
--- a/src/client/views/InkControlPtHandles.tsx
+++ b/src/client/views/InkControlPtHandles.tsx
@@ -2,18 +2,16 @@ import React = require('react');
 import { action, observable } from 'mobx';
 import { observer } from 'mobx-react';
 import { Doc } from '../../fields/Doc';
-import { ControlPoint, InkData, PointData, InkField } from '../../fields/InkField';
+import { ControlPoint, InkData, PointData } from '../../fields/InkField';
 import { List } from '../../fields/List';
 import { listSpec } from '../../fields/Schema';
-import { Cast, NumCast } from '../../fields/Types';
-import { setupMoveUpEvents, returnFalse } from '../../Utils';
-import { Transform } from '../util/Transform';
+import { Cast } from '../../fields/Types';
+import { returnFalse, setupMoveUpEvents } from '../../Utils';
+import { SelectionManager } from '../util/SelectionManager';
 import { UndoManager } from '../util/UndoManager';
 import { Colors } from './global/globalEnums';
 import { InkingStroke } from './InkingStroke';
 import { InkStrokeProperties } from './InkStrokeProperties';
-import { DocumentView } from './nodes/DocumentView';
-import { SelectionManager } from '../util/SelectionManager';
 
 export interface InkControlProps {
     inkDoc: Doc;
@@ -155,7 +153,7 @@ export class InkControlPtHandles extends React.Component<InkControlProps> {
                     cx={control.X}
                     cy={control.Y}
                     r={this.props.screenSpaceLineWidth * 2 * scale}
-                    opacity={this.props.inkView.controlUndo ? 0.15 : 1}
+                    opacity={this.props.inkView.controlUndo ? 0.35 : 1}
                     height={this.props.screenSpaceLineWidth * 4 * scale}
                     width={this.props.screenSpaceLineWidth * 4 * scale}
                     strokeWidth={this.props.screenSpaceLineWidth / 2}
-- 
cgit v1.2.3-70-g09d2

