tooltip add delay
This commit is contained in:
parent
22834a8243
commit
ad62ef492e
@ -731,7 +731,7 @@ export default function Editor(props: EditorProps) {
|
|||||||
/>
|
/>
|
||||||
<div className="editor-toolkit-btns">
|
<div className="editor-toolkit-btns">
|
||||||
<Button
|
<Button
|
||||||
toolTip="Show Full"
|
toolTip="Reset Zoom & Pan"
|
||||||
tooltipPosition="top"
|
tooltipPosition="top"
|
||||||
icon={<ArrowsExpandIcon />}
|
icon={<ArrowsExpandIcon />}
|
||||||
disabled={scale === minScale && panned === false}
|
disabled={scale === minScale && panned === false}
|
||||||
|
@ -10,6 +10,11 @@ $tooltip-margin: 1.5rem;
|
|||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
border-radius: 0.3rem;
|
border-radius: 0.3rem;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
opacity: 0;
|
||||||
|
animation-name: opacityReveal;
|
||||||
|
animation-duration: 0.2s;
|
||||||
|
animation-fill-mode: forwards;
|
||||||
|
animation-delay: 1s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user