-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix(右键菜单): 右键菜单显示快捷建错误问题修复 * fix(翻转插件): 右键菜单,x和y轴翻转的国际化显示错误
- Loading branch information
1 parent
1a08d57
commit 6dca813
Showing
4 changed files
with
17 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
/* | ||
* @Author: 秦少卫 | ||
* @Date: 2023-06-15 22:49:42 | ||
* @LastEditors: 秦少卫 | ||
* @LastEditTime: 2024-07-09 14:12:41 | ||
* @LastEditors: bigFace2019 [email protected] | ||
* @LastEditTime: 2024-11-03 20:39:43 | ||
* @Description: 居中对齐插件 | ||
*/ | ||
|
||
|
@@ -59,7 +59,7 @@ class CenterAlignPlugin implements IPluginTempl { | |
return [ | ||
{ | ||
text: '水平垂直居中', | ||
hotkey: 'Ctrl+V', | ||
hotkey: '', | ||
disabled: false, | ||
onclick: () => this.position('center'), | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
/* | ||
* @Author: 秦少卫 | ||
* @Date: 2023-06-20 12:57:35 | ||
* @LastEditors: 秦少卫 | ||
* @LastEditTime: 2024-04-10 17:33:02 | ||
* @LastEditors: bigFace2019 [email protected] | ||
* @LastEditTime: 2024-11-03 20:38:33 | ||
* @Description: 删除快捷键 | ||
*/ | ||
|
||
|
@@ -42,7 +42,10 @@ class DeleteHotKeyPlugin implements IPluginTempl { | |
contextMenu() { | ||
const activeObject = this.canvas.getActiveObject(); | ||
if (activeObject) { | ||
return [null, { text: '删除', hotkey: 'Ctrl+V', disabled: false, onclick: () => this.del() }]; | ||
return [ | ||
null, | ||
{ text: '删除', hotkey: 'Backspace', disabled: false, onclick: () => this.del() }, | ||
]; | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters