diff --git a/CHANGELOG.md b/CHANGELOG.md index 66bb27b4..97f5d2ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ *** + + + ## [v14.99.0] - 2026-05-22 ### 新增 — 主题令牌审计工具增强 diff --git a/lib/editor/pages/editor/pro_editor_page.dart b/lib/editor/pages/editor/pro_editor_page.dart index eedc3797..7ab50f8e 100644 --- a/lib/editor/pages/editor/pro_editor_page.dart +++ b/lib/editor/pages/editor/pro_editor_page.dart @@ -489,10 +489,10 @@ class ProEditorPageState extends State child: Material( color: p.bgPrimary, child: SizedBox.expand( - child: Padding( - padding: const EdgeInsets.all(8), - child: RepaintBoundary( - key: _repaintKey, + child: RepaintBoundary( + key: _repaintKey, + child: Padding( + padding: const EdgeInsets.all(8), child: CanvasStyleMiddleware( style: _canvasStyle, child: ColoredBox( diff --git a/lib/editor/services/core/pro_editor_bridge.dart b/lib/editor/services/core/pro_editor_bridge.dart index 761cb028..a1cb1710 100644 --- a/lib/editor/services/core/pro_editor_bridge.dart +++ b/lib/editor/services/core/pro_editor_bridge.dart @@ -122,8 +122,8 @@ class ProEditorBridge { ), mainEditor: pro.MainEditorConfigs( enableZoom: true, - editorMinScale: 0.5, - doubleTapZoomFactor: 2.5, + editorMinScale: 0.3, + doubleTapZoomFactor: 1.8, boundaryMargin: const EdgeInsets.all(double.infinity), safeArea: const pro.EditorSafeArea.none(), widgets: pro.MainEditorWidgets( diff --git a/lib/editor/widgets/panels/canvas_style_sheet.dart b/lib/editor/widgets/panels/canvas_style_sheet.dart index 7d67fb9a..2142f9ec 100644 --- a/lib/editor/widgets/panels/canvas_style_sheet.dart +++ b/lib/editor/widgets/panels/canvas_style_sheet.dart @@ -317,19 +317,19 @@ class _CanvasStyleSheetState extends State { children: [ const SizedBox(height: AppSpacing.sm), _buildPresetSection(ext), - const SizedBox(height: AppSpacing.md), + const SizedBox(height: AppSpacing.lg), _buildPreview(ext), - const SizedBox(height: AppSpacing.md), + const SizedBox(height: AppSpacing.lg), _buildRadiusSection(ext), - const SizedBox(height: 20), + const SizedBox(height: AppSpacing.md), _buildBorderSection(ext), - const SizedBox(height: 20), + const SizedBox(height: AppSpacing.md), _buildShadowSection(ext), - const SizedBox(height: 20), + const SizedBox(height: AppSpacing.md), _buildStackSection(ext), - const SizedBox(height: 20), + const SizedBox(height: AppSpacing.md), _buildOuterMarginSection(ext), - const SizedBox(height: 40), + const SizedBox(height: 32), ], ), ),