mirror of
https://github.com/remvze/moodist.git
synced 2025-12-18 01:14:17 +00:00
refactor: remove hide delay for tooltips
This commit is contained in:
parent
ddae0b660f
commit
48291a6457
4 changed files with 3 additions and 4 deletions
|
|
@ -31,7 +31,6 @@ export function UnselectButton() {
|
|||
variants={variants}
|
||||
>
|
||||
<Tooltip
|
||||
hideDelay={0}
|
||||
showDelay={0}
|
||||
content={
|
||||
hasHistory
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ export function Shuffle() {
|
|||
const shuffle = useSoundStore(state => state.shuffle);
|
||||
|
||||
return (
|
||||
<Tooltip content="Shuffle sounds" hideDelay={0} showDelay={0}>
|
||||
<Tooltip content="Shuffle sounds" showDelay={0}>
|
||||
<button
|
||||
aria-label="Shuffle sounds"
|
||||
className={styles.button}
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ export function Button({
|
|||
tooltip,
|
||||
}: ButtonProps) {
|
||||
return (
|
||||
<Tooltip content={tooltip} hideDelay={0} placement="bottom" showDelay={0}>
|
||||
<Tooltip content={tooltip} placement="bottom" showDelay={0}>
|
||||
<button
|
||||
className={cn(
|
||||
styles.button,
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ interface ButtonProps {
|
|||
|
||||
export function Button({ icon, onClick, smallIcon, tooltip }: ButtonProps) {
|
||||
return (
|
||||
<Tooltip content={tooltip} hideDelay={0} placement="bottom" showDelay={0}>
|
||||
<Tooltip content={tooltip} placement="bottom" showDelay={0}>
|
||||
<button
|
||||
className={cn(styles.button, smallIcon && styles.smallIcon)}
|
||||
onClick={onClick}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue