# HG changeset patch
# User drewp@bigasterisk.com
# Date 1685724168 25200
# Node ID 2aeceb6f03aa9fde5a709e7b833b6e03d1e57b93
# Parent b09ff4b0094cf87e2b11fa9c14d9158ccc7cbbd2
edit-choice defaults to no 'rename' button
diff -r b09ff4b0094c -r 2aeceb6f03aa light9/live/Light9DeviceSettings.ts
--- a/light9/live/Light9DeviceSettings.ts Fri Jun 02 09:42:18 2023 -0700
+++ b/light9/live/Light9DeviceSettings.ts Fri Jun 02 09:42:48 2023 -0700
@@ -49,7 +49,7 @@
-
+
diff -r b09ff4b0094c -r 2aeceb6f03aa light9/web/EditChoice.ts
--- a/light9/web/EditChoice.ts Fri Jun 02 09:42:18 2023 -0700
+++ b/light9/web/EditChoice.ts Fri Jun 02 09:42:48 2023 -0700
@@ -63,12 +63,13 @@
export class EditChoice extends LitElement {
@property() uri?: NamedNode
@property({ type: Boolean }) nounlink = false;
+ @property({ type: Boolean }) rename = false;
static styles = [
css`
:host {
display: inline-block;
background: #141448;
- min-width: 10em;
+ /* min-width: 10em; */
padding: 3px 8px;
}
.dragging {
@@ -88,7 +89,7 @@
`
return html`
-
+
${this.nounlink ? html`` : unlink}
`;
}