mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-05-30 06:40:09 +02:00
Merge branch 'beta' of https://github.com/cmdr2/stable-diffusion-ui.git into multi-gpu
This commit is contained in:
commit
940236b4a4
@ -1,6 +1,6 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
@REM @copy sd-ui-files\scripts\on_env_start.bat scripts\ /Y
|
@copy sd-ui-files\scripts\on_env_start.bat scripts\ /Y
|
||||||
|
|
||||||
@REM Caution, this file will make your eyes and brain bleed. It's such an unholy mess.
|
@REM Caution, this file will make your eyes and brain bleed. It's such an unholy mess.
|
||||||
@REM Note to self: Please rewrite this in Python. For the sake of your own sanity.
|
@REM Note to self: Please rewrite this in Python. For the sake of your own sanity.
|
||||||
|
@ -1757,7 +1757,7 @@ function getThemeName(theme) {
|
|||||||
// init themefield
|
// init themefield
|
||||||
function initTheme() {
|
function initTheme() {
|
||||||
Array.from(document.styleSheets)
|
Array.from(document.styleSheets)
|
||||||
.filter(sheet => sheet.href.startsWith(window.location.origin))
|
.filter(sheet => sheet.href?.startsWith(window.location.origin))
|
||||||
.flatMap(sheet => Array.from(sheet.cssRules))
|
.flatMap(sheet => Array.from(sheet.cssRules))
|
||||||
.forEach(rule => {
|
.forEach(rule => {
|
||||||
var selector = rule.selectorText; // TODO: also do selector == ":root", re-run un-set props
|
var selector = rule.selectorText; // TODO: also do selector == ":root", re-run un-set props
|
||||||
|
Loading…
x
Reference in New Issue
Block a user