Skip to content

Commit

Permalink
feat:去掉格式刷rotate属性
Browse files Browse the repository at this point in the history
  • Loading branch information
ananzhusen committed Aug 15, 2023
1 parent edaed4f commit d07c732
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/pen/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ export interface Pen extends Rect {
textRotate?: boolean; //文字是否旋转
// calculative 对象中的值是为了动画存在,表明了渐变过程中,画布上绘制的当前值
textAutoAdjust?: boolean; //text图元宽高根据文本自动调整
dbInput?: boolean;//锁定状态下,双击能否输入
dbInput?: boolean; //锁定状态下,双击能否输入
calculative?: {
x?: number;
y?: number;
Expand Down Expand Up @@ -579,7 +579,7 @@ export const isDomShapes = [
// 格式刷同步的属性
export const formatAttrs: Set<string> = new Set([
'borderRadius',
'rotate',
// 'rotate',
'paddingLeft',
'paddingRight',
'paddingTop',
Expand Down

0 comments on commit d07c732

Please sign in to comment.