aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionCarousel3DView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-12-11 17:04:49 -0500
committerbobzel <zzzman@gmail.com>2023-12-11 17:04:49 -0500
commit07c30aed69dfa810ddb0b861ae2dc8e8f3a27356 (patch)
tree678a0855b169eb88fdc574fd49481ee6e57b12de /src/client/views/collections/CollectionCarousel3DView.tsx
parent936aa21fb576472e321a9af976d5da7b75292511 (diff)
fixed includes of scss globals into typescript files.
Diffstat (limited to 'src/client/views/collections/CollectionCarousel3DView.tsx')
-rw-r--r--src/client/views/collections/CollectionCarousel3DView.tsx5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/client/views/collections/CollectionCarousel3DView.tsx b/src/client/views/collections/CollectionCarousel3DView.tsx
index 330cb93e4..f03e38850 100644
--- a/src/client/views/collections/CollectionCarousel3DView.tsx
+++ b/src/client/views/collections/CollectionCarousel3DView.tsx
@@ -13,10 +13,7 @@ import { StyleProp } from '../StyleProvider';
import { DocFocusOptions, DocumentView } from '../nodes/DocumentView';
import './CollectionCarousel3DView.scss';
import { CollectionSubView } from './CollectionSubView';
-// import { CAROUSEL3D_CENTER_SCALE, CAROUSEL3D_SIDE_SCALE, CAROUSEL3D_TOP } from '../global/globalCssVariables.scss';
-const CAROUSEL3D_CENTER_SCALE = '1';
-const CAROUSEL3D_SIDE_SCALE = '1';
-const CAROUSEL3D_TOP = '0';
+const { default: { CAROUSEL3D_CENTER_SCALE, CAROUSEL3D_SIDE_SCALE, CAROUSEL3D_TOP } } = require('../global/globalCssVariables.module.scss'); // prettier-ignore
@observer
export class CollectionCarousel3DView extends CollectionSubView() {
@computed get scrollSpeed() {