This commit is contained in:
2024-12-18 22:27:27 +01:00
parent 6af27de3dd
commit a892e1fcb2
4 changed files with 126 additions and 18 deletions

View File

@@ -7,8 +7,9 @@ This program is available under Apache License Version 2.0
import { LitElement, html, css } from 'lit';
import { connections, connectionStyles } from './connections.js';
import { panning } from './panning.js';
import { zoom } from './zoom.js';
class TpFlowNodes extends panning(connections(LitElement)) {
class TpFlowNodes extends zoom(panning(connections(LitElement))) {
static get styles() {
return [
connectionStyles,
@@ -23,8 +24,10 @@ class TpFlowNodes extends panning(connections(LitElement)) {
width: 100%;
height: 100%;
user-select: none;
position: relative;
overflow: hidden;
position: absolute;
min-width: 100%;
min-height: 100%;
overflow: visible;
transform: translate(0px, 0px);
}
`