We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19595b8 commit 45c81a0Copy full SHA for 45c81a0
src/components/output/GraphOutput.vue
@@ -442,9 +442,18 @@ onUnmounted(() => {
442
<q-badge
443
rounded
444
:label="selectedElement.type"
445
- text-color="black"
+ :text-color="getContrastingColor(selectedElement.color)"
446
:style="`background-color: ${selectedElement.color};`"
447
- />
+ >
448
+ <q-popup-proxy>
449
+ <q-color
450
+ v-model="selectedElement.color"
451
+ @change="nodeColorChange(selectedElement)"
452
+ no-header-tabs
453
+ no-footer
454
+ />
455
+ </q-popup-proxy>
456
+ </q-badge>
457
</div>
458
<div v-else-if="selectedElement.nodeOrRelationship === 'relationship'">
459
<div class="text-subtitle1">Relationship properties</div>
0 commit comments