perspective arrange button

This commit is contained in:
Jan Prochazka
2022-08-26 19:17:35 +02:00
parent d2f18bc048
commit 728ad21d2f
6 changed files with 19 additions and 5 deletions

View File

@@ -9,6 +9,7 @@
toolbar: true,
isRelatedToTab: true,
testEnabled: () => getCurrentEditor()?.canArrange(),
// testEnabled: () => !!getCurrentEditor(),
onClick: () => getCurrentEditor().arrange(),
});