DJ

Results 25 comments of DJ

@n3oney can you make a separate issue with your reply?

I'm taking a look at this one. `fontSize` is initialized to `null` so that it can properly inherit the font size of its parent in layout mode, so it's not...

`customX` and `customY` seem to be the solution for this in regards to positioning, but it would be a hassle to create a computed method, getters, setters, and a custom...

Can you provide a short example that triggers this error?

Never mind, found it from another bug. This appears to be coming from the function `deepLerp()`: ```ts export function deepLerp(from: any, to: any, value: number): any { if (value ===...

Code theme colors appear to be tied to "dark-style.ts" in the [code-fns](https://github.com/Ross-Esmond/code-fns) dependency. Pending an actual API for changing this, you could either change this source file and recompile, or...

The separate InheritedSignalContext would be for ease of use, since having to call `collect()` and check `raw()` manually is an arcane way of using signals for something that could be...

I'd say it's more about making an easier way to have a default computed value. The only good way to do that with signals is by writing out all the...

How about a static util function? ```ts @computed() protected applyFont() { this.element.style.fontSize = isDefault(this.fontSize) ? '' : this.parsePixels(this.fontSize()); } function isDefault(signal: SimpleSignal) { signal.context.collect(); return signal.context['compute'] !== undefined && signal.context.raw()...

Ironically, this approach solved a really nasty caching bug I was trying to solve with the previous solution, nice 👍 Also added a compute method to `lineHeight` to test interactions...