#
luxiaotao1123
2024-10-11 a908604f5aa2da9921cd99c12a6fa422d5893f4a
zy-acs-flow/src/map/MapPage.jsx
@@ -81,7 +81,7 @@
        handleResize();
        window.addEventListener('resize', handleResize);
        notify('Welcome to Rcs', 'info');
        notify.info('Welcome to Rcs');
        return () => {
            if (websocket) {
@@ -105,6 +105,7 @@
        switch (mode) {
            case MapMode.OBSERVER_MODE:
                player.hideGridLines();
                player.hideStarryBackground();
                player.activateMapMultiSelect((selectedSprites, restartFn) => {
                    console.log(selectedSprites);
@@ -113,6 +114,7 @@
                break
            case MapMode.MOVABLE_MODE:
                player.showGridLines();
                player.hideStarryBackground();
                player.activateMapMultiSelect((selectedSprites, restartFn) => {
                    Tool.spriteListBeMovable(selectedSprites, () => {
@@ -122,6 +124,7 @@
                break
            case MapMode.SETTINGS_MODE:
                player.hideGridLines();
                player.showStarryBackground(); // 0x2f68ac
                player.activateMapMultiSelect((selectedSprites, restartFn) => {
                    console.log(selectedSprites);
@@ -329,7 +332,8 @@
                    setSettingsVisible(false);
                }}
                sprite={spriteSettings}
                width={378}
                setSpriteSettings={setSpriteSettings}
                width={570}
            />
        </Box>