chore: make eslint happy
📊 Benchmark the Runtime / benchmark (pull_request) Successful in 1m6s
🚀 Lint & Test & Deploy / quality (pull_request) Failing after 1m7s
🚀 Lint & Test & Deploy / test-unit (pull_request) Successful in 31s
🚀 Lint & Test & Deploy / test-e2e (pull_request) Failing after 32s
🚀 Lint & Test & Deploy / deploy (pull_request) Has been skipped

This commit is contained in:
2026-05-04 14:50:11 +02:00
parent 2a54fa7590
commit e695c76490
11 changed files with 49 additions and 59 deletions
+10 -13
View File
@@ -136,6 +136,12 @@
/>
<label for="drop-zone"></label>
{#if graph.isInsideGroup}
<button class="exit-group" onclick={() => graphState.exitGroupNode()}>
↑ Exit Group
</button>
{/if}
<Canvas shadows={false} renderMode="on-demand" colorManagementEnabled={false}>
<Camera
bind:camera={graphState.camera}
@@ -169,14 +175,6 @@
{/if}
{#if graph.status === 'idle'}
{#if graph.isInsideGroup}
<HTML transform={false}>
<button class="exit-group" onclick={() => graphState.exitGroupNode()}>
↑ Exit Group
</button>
</HTML>
{/if}
{#if graphState.addMenuPosition}
<AddMenu
onnode={handleNodeCreation}
@@ -252,11 +250,10 @@
height: 100%;
}
:global(.exit-group) {
position: fixed;
.exit-group {
position: absolute;
top: 12px;
left: 50%;
transform: translateX(-50%);
left: 12px;
z-index: 1000;
padding: 4px 12px;
background: var(--color-layer-2);
@@ -268,7 +265,7 @@
opacity: 0.85;
}
:global(.exit-group:hover) {
.exit-group:hover {
opacity: 1;
}