From 4cdfdea2dd0b04634dc175f1cf12c32dae080649 Mon Sep 17 00:00:00 2001 From: arcsi42 Date: Sun, 13 Mar 2022 21:38:21 +0100 Subject: [PATCH] fix prettier errors --- README.md | 2 +- src/radial-menu.ts | 17 ++++++++++------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 30ca7bc..f41b26c 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ resources: | `hold_action` | `map` | **Optional** | Action to take on hold. See [action options](#action-options) | `none` | | `double_tap_action` | `map` | **Optional** | Action to take on double tap. See [action options](#action-options) | `action: none` | | `theme` | `string` | **Optional** | Card theme | | -| `items_offset` | `number` | **Optional** | Distance of items from menu center | `0` | +| `items_offset` | `number` | **Optional** | Distance of items from menu center | `35` | ## Item Options diff --git a/src/radial-menu.ts b/src/radial-menu.ts index a790234..20869e4 100644 --- a/src/radial-menu.ts +++ b/src/radial-menu.ts @@ -41,7 +41,7 @@ export class RadialMenu extends LitElement { action: 'none', }, default_dismiss: true, - items_offset: 0, + items_offset: 35, ...config, }; @@ -81,15 +81,18 @@ export class RadialMenu extends LitElement {