diff options
| author | bobzel <zzzman@gmail.com> | 2023-12-11 17:04:49 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-12-11 17:04:49 -0500 |
| commit | 07c30aed69dfa810ddb0b861ae2dc8e8f3a27356 (patch) | |
| tree | 678a0855b169eb88fdc574fd49481ee6e57b12de /src/client/views/InkingStroke.tsx | |
| parent | 936aa21fb576472e321a9af976d5da7b75292511 (diff) | |
fixed includes of scss globals into typescript files.
Diffstat (limited to 'src/client/views/InkingStroke.tsx')
| -rw-r--r-- | src/client/views/InkingStroke.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/views/InkingStroke.tsx b/src/client/views/InkingStroke.tsx index d34df8742..15df03682 100644 --- a/src/client/views/InkingStroke.tsx +++ b/src/client/views/InkingStroke.tsx @@ -46,9 +46,7 @@ import { FieldView, FieldViewProps } from './nodes/FieldView'; import { FormattedTextBox } from './nodes/formattedText/FormattedTextBox'; import { PinProps, PresBox } from './nodes/trails'; import { StyleProp } from './StyleProvider'; -// import { INK_MASK_SIZE } from './global/globalCssVariables.scss'; -const INK_MASK_SIZE = 1000; - +const { default: { INK_MASK_SIZE } } = require('./global/globalCssVariables.module.scss'); // prettier-ignore @observer export class InkingStroke extends ViewBoxBaseComponent<FieldViewProps>() { static readonly MaskDim = INK_MASK_SIZE; // choose a really big number to make sure mask fits over container (which in theory can be arbitrarily big) |
