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:
Bruce Martin
2019-08-22 20:56:33 -07:00
committed by GitHub
parent 0f36b49840
commit b359a610da
7 changed files with 75 additions and 26 deletions
@@ -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"