Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Correct html head and switch litegraph to pointer mode.

Zentropivity8c5d45e7f8b8
diff --git a/web/index.html b/web/index.html
index cd95594f8..b5911fd4d 100644
--- a/web/index.html
+++ b/web/index.html
@@ -1,10 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="lib/litegraph.css" />
<link rel="stylesheet" type="text/css" href="style.css" />
<script type="text/javascript" src="lib/litegraph.core.js"></script>
-
<script type="module">
import { app } from "/scripts/app.js";
await app.setup();
diff --git a/web/lib/litegraph.core.js b/web/lib/litegraph.core.js
index ef9929095..e86ecf67b 100644
--- a/web/lib/litegraph.core.js
+++ b/web/lib/litegraph.core.js
@@ -138,7 +138,7 @@
release_link_on_empty_shows_menu: false, //[true!] dragging a link to empty space will open a menu, add from list, search or defaults
- pointerevents_method: "mouse", // "mouse"|"pointer" use mouse for retrocompatibility issues? (none found @ now)
+ pointerevents_method: "pointer", // "mouse"|"pointer" use mouse for retrocompatibility issues? (none found @ now)
// TODO implement pointercancel, gotpointercapture, lostpointercapture, (pointerover, pointerout if necessary)
/**