Fork me on GitHub
#membrane
<
2023-10-06
>
zimablue15:10:49

did you push your mouse-move change anywhere?

phronmophobic17:10:32

Yes, they're on github and released under 0.14.1-beta

zimablue17:10:16

nice, I just pulled latest

zimablue17:10:27

I am still manually patching the webgl code so that things which can only work in the browser don't run in global scope and explode, that allows me to run some tests which produce components in nodejs, everything but webgl/run works

zimablue17:10:41

oh I have to comment a top-level-thing in membrane.audio too

phronmophobic17:10:34

which things in the webgl run in the global scope?

phronmophobic17:10:01

I thought all of the state was closed over, but it's been a while since I've looked at it.

phronmophobic17:10:34

If you're interested in submitting a pull request, I can take a look and try to upstream changes that make sense.

zimablue17:10:39

the redraw definition calls .-devicePixelRatio and load-font is called in global-scope

phronmophobic17:10:45

or simplify the code further so you don't have to patch.

zimablue17:10:47

those are the things I've added a little conditional to

zimablue17:10:34

if noone else cares don't worry about it, I don't mind the little patch, maybe it's bad style on my side but I like the convenience in an electron cljs app of "everything runs unless it really touches some nonavailable io"

phronmophobic17:10:46

oh, you mean calls that run on unconditionally when loaded?

phronmophobic18:10:41

yea, I think it's bad style on membrane's end to run functions with side effect on load.

phronmophobic18:10:06

it's probably not that hard to fix on membrane's end.

zimablue18:10:28

not a priority for me I just say what I'm up to as I imagine you're curious how ppl use/hack membrane

👍 1
phronmophobic18:10:22

I do appreciate that!