This commit is contained in:
2025-05-13 17:02:11 +05:30
18 changed files with 1618 additions and 202 deletions

View File

@@ -31,6 +31,7 @@ import {
useToolMode,
useTransformMode,
useActiveSubTool,
useShortcutStore,
} from "../../store/store";
import useToggleStore from "../../store/useUIToggleStore";
import {
@@ -50,6 +51,7 @@ const Tools: React.FC = () => {
const { activeModule } = useModuleStore();
const { toggleThreeD, setToggleThreeD } = useThreeDStore();
const { isPlaying, setIsPlaying } = usePlayButtonStore();
const { showShortcuts } = useShortcutStore();
const {
activeTool,
@@ -300,7 +302,7 @@ const Tools: React.FC = () => {
};
return (
<div className="tools-container">
<div className={`tools-container ${showShortcuts ? "visible" : ""}`}>
<div className="activeDropicon">
{/* Tool Picker (cursor, delete, etc.) */}
{["cursor", "free-hand", "delete"].map(