diff options
| author | bobzel <zzzman@gmail.com> | 2024-10-10 08:54:57 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-10-10 08:54:57 -0400 |
| commit | e9bf4605675857ee9e822c1051107fe86dc1bc16 (patch) | |
| tree | f95c5c98a0b53f45f9e67d590df9537fa3e05a5b /src | |
| parent | a760773be31c274af45a7d781160585d58d88c07 (diff) | |
only show flip comparison icon if revealOp isn't hover
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/views/nodes/ComparisonBox.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/ComparisonBox.tsx b/src/client/views/nodes/ComparisonBox.tsx index aed81709b..12081ff87 100644 --- a/src/client/views/nodes/ComparisonBox.tsx +++ b/src/client/views/nodes/ComparisonBox.tsx @@ -105,8 +105,8 @@ export class ComparisonBox extends ViewBoxAnnotatableComponent<FieldViewProps>() @computed get flashcardMenu() { return SnappingManager.HideDecorations ? null : ( <div className="comparisonBox-bottomMenu" style={{ transform: `scale(${this.uiBtnScaling})` }}> - {this.overlayAlternateIcon} - {!this._props.isContentActive() ? null : ( + {this.revealOp === 'hover' || !this._props.isSelected() ? null : this.overlayAlternateIcon} + {!this._props.isSelected() ? null : ( <> {!this._frontSide ? null : ( <Tooltip |
