diff options
| author | bobzel <zzzman@gmail.com> | 2023-08-29 16:33:37 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-08-29 16:33:37 -0400 |
| commit | 0c4f57875c8aaf599ff111a8b8122895d2addab3 (patch) | |
| tree | 785d3f65f1c1e01d2a02f5e9e8317445131e1215 /src/client/views/nodes/DocumentIcon.tsx | |
| parent | 349e586b01b18c641a4c753b709f4217a3f3e528 (diff) | |
more cleanup
Diffstat (limited to 'src/client/views/nodes/DocumentIcon.tsx')
| -rw-r--r-- | src/client/views/nodes/DocumentIcon.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/nodes/DocumentIcon.tsx b/src/client/views/nodes/DocumentIcon.tsx index 6e2ed72b8..bccbd66e8 100644 --- a/src/client/views/nodes/DocumentIcon.tsx +++ b/src/client/views/nodes/DocumentIcon.tsx @@ -9,6 +9,7 @@ import { action, observable } from 'mobx'; import { Id } from '../../../fields/FieldSymbols'; import { factory } from 'typescript'; import { LightboxView } from '../LightboxView'; +import { SettingsManager } from '../../util/SettingsManager'; @observer export class DocumentIcon extends React.Component<{ view: DocumentView; index: number }> { @@ -29,6 +30,7 @@ export class DocumentIcon extends React.Component<{ view: DocumentView; index: n pointerEvents: 'all', opacity: this._hovered ? 0.3 : 1, position: 'absolute', + background: SettingsManager.userBackgroundColor, transform: `translate(${(left + right) / 2}px, ${top}px)`, }}> <Tooltip title={<>{this.props.view.rootDoc.title}</>}> |
