mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-01 08:58:12 +08:00
tooltips improvements (#896)
* add and fix tooltips on toolbar * move tooltips below buttons * add global definition for tooltip hover over delay
This commit is contained in:
@@ -3,6 +3,7 @@ import React from "react";
|
||||
import { AnchorButton, Tooltip } from "@blueprintjs/core";
|
||||
import { connect } from "react-redux";
|
||||
import { World } from "../../util/stateManager";
|
||||
import { tooltipHoverOpenDelay } from "../../globals";
|
||||
|
||||
@connect()
|
||||
class CellSetButton extends React.Component {
|
||||
@@ -38,7 +39,8 @@ class CellSetButton extends React.Component {
|
||||
return (
|
||||
<Tooltip
|
||||
content="Save current selection for differential expression computation"
|
||||
position="top"
|
||||
position="bottom"
|
||||
hoverOpenDelay={tooltipHoverOpenDelay}
|
||||
>
|
||||
<AnchorButton
|
||||
type="button"
|
||||
|
||||
Reference in New Issue
Block a user