mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
Add tooltip delay for expand/collapse of player image
This commit is contained in:
@@ -121,7 +121,7 @@ export const LeftControls = () => {
|
||||
radius={50}
|
||||
size="xs"
|
||||
sx={{ position: 'absolute', right: 2, top: 2 }}
|
||||
tooltip={{ label: 'Expand' }}
|
||||
tooltip={{ label: 'Expand', openDelay: 500 }}
|
||||
variant="default"
|
||||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
|
||||
@@ -363,7 +363,7 @@ export const Sidebar = () => {
|
||||
radius={100}
|
||||
size="sm"
|
||||
sx={{ position: 'absolute', right: 5, top: 5 }}
|
||||
tooltip={{ label: 'Collapse' }}
|
||||
tooltip={{ label: 'Collapse', openDelay: 500 }}
|
||||
variant="default"
|
||||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user