mirror of
https://github.com/urbit/shrub.git
synced 2024-12-20 09:21:42 +03:00
hark: flip hovermarker flag
This commit is contained in:
parent
e128d88864
commit
2776f783ed
@ -207,7 +207,7 @@ const MessageWrapper = (props) => {
|
|||||||
<Box
|
<Box
|
||||||
py='1'
|
py='1'
|
||||||
backgroundColor={
|
backgroundColor={
|
||||||
hovering && props.hoverMarker !== false ? 'washedGray' : 'transparent'
|
hovering && !props.hideHover ? 'washedGray' : 'transparent'
|
||||||
}
|
}
|
||||||
position='relative'
|
position='relative'
|
||||||
{...bind}
|
{...bind}
|
||||||
@ -235,7 +235,7 @@ interface ChatMessageProps {
|
|||||||
api: GlobalApi;
|
api: GlobalApi;
|
||||||
highlighted?: boolean;
|
highlighted?: boolean;
|
||||||
renderSigil?: boolean;
|
renderSigil?: boolean;
|
||||||
hoverMarker?: boolean;
|
hideHover?: boolean;
|
||||||
innerRef: (el: HTMLDivElement | null) => void;
|
innerRef: (el: HTMLDivElement | null) => void;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -268,7 +268,7 @@ class ChatMessage extends Component<ChatMessageProps> {
|
|||||||
highlighted,
|
highlighted,
|
||||||
showOurContact,
|
showOurContact,
|
||||||
fontSize,
|
fontSize,
|
||||||
hoverMarker
|
hideHover
|
||||||
} = this.props;
|
} = this.props;
|
||||||
|
|
||||||
let { renderSigil } = this.props;
|
let { renderSigil } = this.props;
|
||||||
@ -306,7 +306,7 @@ class ChatMessage extends Component<ChatMessageProps> {
|
|||||||
scrollWindow,
|
scrollWindow,
|
||||||
highlighted,
|
highlighted,
|
||||||
fontSize,
|
fontSize,
|
||||||
hoverMarker
|
hideHover
|
||||||
};
|
};
|
||||||
|
|
||||||
const unreadContainerStyle = {
|
const unreadContainerStyle = {
|
||||||
|
@ -136,7 +136,7 @@ const GraphNodeContent = ({
|
|||||||
msg={post}
|
msg={post}
|
||||||
fontSize='0'
|
fontSize='0'
|
||||||
pt='2'
|
pt='2'
|
||||||
hoverMarker={false}
|
hideHover={true}
|
||||||
/>
|
/>
|
||||||
</Row>
|
</Row>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user