File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ import {
4040 Package ,
4141 Palette ,
4242 Scissors ,
43+ Slash ,
4344 SquareRoundCorner ,
4445 TextSelect ,
4546 Trash ,
@@ -304,6 +305,10 @@ export default function MyContextMenuContent() {
304305 { t ( "changeColor" ) }
305306 </ SubTrigger >
306307 < SubContent >
308+ < Item onClick = { ( ) => p . stageObjectColorManager . setSelectedStageObjectColor ( Color . Transparent ) } >
309+ < Slash />
310+ { t ( "resetColor" ) }
311+ </ Item >
307312 < Item className = "bg-transparent! grid grid-cols-11 flex-col gap-1" >
308313 { Object . values ( tailwindColors )
309314 . filter ( ( it ) => typeof it !== "string" )
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ contextMenu:
7474 convertToSection : 转换为框
7575 toggleSectionCollapse : 切换折叠状态
7676 changeColor : 更改颜色
77+ resetColor : 重置
7778
7879settings :
7980 title : 设置
You can’t perform that action at this time.
0 commit comments