diff --git a/README.md b/README.md index fdf071e..f41b26c 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,8 @@ resources: | `tap_action` | `map` | **Optional** | Action to take on tap. See [action options](#action-options) | `action: toggle-menu` | | `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 | +| `theme` | `string` | **Optional** | Card theme | | +| `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 e688958..20869e4 100644 --- a/src/radial-menu.ts +++ b/src/radial-menu.ts @@ -41,6 +41,7 @@ export class RadialMenu extends LitElement { action: 'none', }, default_dismiss: true, + items_offset: 35, ...config, }; @@ -80,15 +81,18 @@ export class RadialMenu extends LitElement {