Skip to content

Commit

Permalink
fix: empty inline groups easier to drop
Browse files Browse the repository at this point in the history
  • Loading branch information
valentine195 committed Dec 6, 2022
1 parent 4c50bf0 commit 20744a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/settings/ui/Creator.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
const dropdown = (node: HTMLDivElement, block: StatblockItem) => {
new ExtraButtonComponent(node).setIcon("vertical-three-dots");
node.onclick = (evt) => {
new Menu(plugin.app)
new Menu()
.addItem((item) => {
item.setTitle("Add")
.setIcon("plus-with-circle")
Expand Down Expand Up @@ -218,6 +218,7 @@
display: inline-flex;
width: 100%;
height: 100%;
min-width: 2rem;
}
.icon {
display: flex;
Expand Down

0 comments on commit 20744a0

Please sign in to comment.