mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-13 14:22:08 +08:00
perf(traffic): avoid dynamic tooltip style rules
This commit is contained in:
@@ -1106,10 +1106,9 @@ export const EnhancedCanvasTrafficGraph = memo(
|
||||
|
||||
{tooltipData.visible && (
|
||||
<Box
|
||||
style={{ left: tooltipData.x + 8, top: tooltipData.y - 8 }}
|
||||
sx={{
|
||||
position: 'absolute',
|
||||
left: tooltipData.x + 8,
|
||||
top: tooltipData.y - 8,
|
||||
bgcolor: theme.palette.background.paper,
|
||||
border: 1,
|
||||
borderColor: 'divider',
|
||||
|
||||
Reference in New Issue
Block a user