From d4c435da7f4c291b444c2a7da9afa195c5f0dcac Mon Sep 17 00:00:00 2001 From: bobzel Date: Fri, 1 Oct 2021 13:16:45 -0400 Subject: fixed ink to not have a bounding box when isLinkButton is set but rather to have an outline of the ink stroke --- src/client/views/InkingStroke.tsx | 8 ++++++-- src/client/views/StyleProvider.tsx | 2 +- src/client/views/global/globalCssVariables.scss | 1 + 3 files changed, 8 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/client/views/InkingStroke.tsx b/src/client/views/InkingStroke.tsx index 5438350d8..ff90563e1 100644 --- a/src/client/views/InkingStroke.tsx +++ b/src/client/views/InkingStroke.tsx @@ -21,6 +21,7 @@ import { InkStrokeProperties } from "./InkStrokeProperties"; import { InkTangentHandles } from "./InkTangentHandles"; import { FieldView, FieldViewProps } from "./nodes/FieldView"; import { SnappingManager } from "../util/SnappingManager"; +import Color = require("color"); type InkDocument = makeInterface<[typeof documentSchema]>; const InkDocument = makeInterface(documentSchema); @@ -199,8 +200,11 @@ export class InkingStroke extends ViewBoxBaseComponent, props: Opt