feat: Add texture management features and update UI components
This commit is contained in:
@@ -18,6 +18,7 @@ import CanvasConfig from "./config/canvasConfig.js";
|
||||
import { LiquifyManager } from "./managers/liquify/LiquifyManager";
|
||||
import { SelectionManager } from "./managers/selection/SelectionManager";
|
||||
import { RedGreenModeManager } from "./managers/RedGreenModeManager";
|
||||
import texturePresetManager from "./managers/brushes/TexturePresetManager";
|
||||
|
||||
// import { MinimapManager } from "./managers/minimap/MinimapManager";
|
||||
|
||||
@@ -271,6 +272,7 @@ onMounted(async () => {
|
||||
provide("keyboardManager", keyboardManager); // 提供给子组件使用
|
||||
provide("activeTool", activeTool); // 提供给子组件使用
|
||||
provide("liquifyManager", () => liquifyManager); // 提供液化管理器
|
||||
provide("texturePresetManager", texturePresetManager); // 提供纹理预设管理器
|
||||
provide("layers", layers); // 提供图层数据
|
||||
// 初始化网格设置
|
||||
// toggleGridVisibility(gridEnabled.value);
|
||||
|
||||
Reference in New Issue
Block a user