更新属性面板为可拖动,优化工具栏激活逻辑

This commit is contained in:
2026-04-27 11:56:56 +08:00
parent a1442fc062
commit 60181dba54
5 changed files with 268 additions and 239 deletions
@@ -986,7 +986,7 @@ const SCADADataPanel: React.FC<SCADADataPanelProps> = ({
<Box
className="absolute top-20 right-4 bg-white shadow-2xl rounded-lg cursor-pointer hover:shadow-xl transition-all duration-300 opacity-95 hover:opacity-100"
onClick={() => setIsExpanded(true)}
sx={{ zIndex: 1300 }}
sx={{ zIndex: 1290 }}
>
<Box className="flex flex-col items-center py-3 px-3 gap-1">
<ShowChart className="text-[#257DD4] w-5 h-5" />