Skip to content

Commit 7a9f55c

Browse files
authored
Add black background color to canvas, temporally disable shift node. (#59)
* set canvas bckground to black * temporaly disable shift nodes
1 parent 78c774f commit 7a9f55c

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/lib/engine/HydraEngine.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ export class HydraEngine {
8686

8787
async init(canvas: HTMLCanvasElement): Promise<void> {
8888
this.canvas = canvas;
89+
this.canvas.style.backgroundColor = '#000000';
8990

9091
try {
9192
// Dynamic imports to avoid SSR issues

src/lib/nodes/registry.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ async function initializeRegistry(): Promise<void> {
8686
);
8787

8888
nodeDefinitions.set('out', outDefinition);
89+
90+
//TODO: Fix shift node definition
91+
nodeDefinitions.delete('shift');
8992
}
9093

9194
async function ensureInitialized(): Promise<void> {

0 commit comments

Comments
 (0)