diff options
| author | bobzel <zzzman@gmail.com> | 2023-03-17 10:54:30 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-03-17 10:54:30 -0400 |
| commit | bdccbc7a37216ffc88920ec48f9119a8ada0be60 (patch) | |
| tree | 9bf89ba599abdf13eb395b1b24c413bda061be53 /src/client/views/collections/TabDocView.tsx | |
| parent | 4ecac6f070759e79c254f4a356d02a871ac6abb5 (diff) | |
cleaned up highlighting styles a bit. fixed stackedTimeline screen to local xf.
Diffstat (limited to 'src/client/views/collections/TabDocView.tsx')
| -rw-r--r-- | src/client/views/collections/TabDocView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/TabDocView.tsx b/src/client/views/collections/TabDocView.tsx index 9459aaf1e..0ab94e2e3 100644 --- a/src/client/views/collections/TabDocView.tsx +++ b/src/client/views/collections/TabDocView.tsx @@ -57,7 +57,7 @@ export class TabDocView extends React.Component<TabDocViewProps> { } @computed get tabBorderColor() { const highlight = DefaultStyleProvider(this._document, undefined, StyleProp.Highlighting); - if (highlight?.highlightIndex >= Doc.DocBrushStatus.highlighted) return highlight.highlightColor; + if (highlight?.highlightIndex === Doc.DocBrushStatus.highlighted) return highlight.highlightColor; return 'transparent'; } @computed get tabColor() { |
