diff options
author | bobzel <zzzman@gmail.com> | 2023-12-04 17:38:36 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-12-04 17:38:36 -0500 |
commit | 2bd239e39264a362d1fbb013ce2613d03247d78e (patch) | |
tree | 6e537dc0c35529c6ee27758a4dec03e23210dbc6 /src/client/views/nodes/ColorBox.tsx | |
parent | cf7a7dc34426dacf018ac98a83a9589106ae7256 (diff) |
trying to do version updates on all npm packages.
Diffstat (limited to 'src/client/views/nodes/ColorBox.tsx')
-rw-r--r-- | src/client/views/nodes/ColorBox.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client/views/nodes/ColorBox.tsx b/src/client/views/nodes/ColorBox.tsx index 852d39800..b4ba51814 100644 --- a/src/client/views/nodes/ColorBox.tsx +++ b/src/client/views/nodes/ColorBox.tsx @@ -1,9 +1,8 @@ import * as React from 'react'; import { action } from 'mobx'; import { observer } from 'mobx-react'; -import { ColorState, SketchPicker } from 'react-color'; +import { ColorResult, SketchPicker } from 'react-color'; import { Doc } from '../../../fields/Doc'; -import { Height } from '../../../fields/DocSymbols'; import { InkTool } from '../../../fields/InkField'; import { NumCast, StrCast } from '../../../fields/Types'; import { DashColor } from '../../../Utils'; @@ -25,7 +24,7 @@ export class ColorBox extends ViewBoxBaseComponent<FieldViewProps>() { @undoBatch @action - static switchColor(color: ColorState) { + static switchColor(color: ColorResult) { SetActiveInkColor(color.hex); SelectionManager.Views().map(view => { |