notEvil
notEvil
I've added another commit to https://github.com/notEvil/PHONK/tree/style and did some testing using this ```javascript // TODO // - check box // ? implement // - knob // ? remove text interface...
> Also, do you think renaming `component.props.property` to `component.style.property` would make sense? Except for `"id"` and `"x", "y", "w", "h"`, `props` contains only styling properties. `"id"` is entirely internal and...
In the PR I made an attempt to remove id, x, y, w, h. For id I've added `PViewMethodsInterface.id()`. For xywh there is `PViewMethodsInterface.set` which still uses `Styler` to do...
Ignore the `getLayoutParams()` suggestion, it wouldn't support units as props.xywh do. Maybe something like this? ```diff diff --git a/PHONK-android/phonk_apprunner/src/main/java/io/phonk/runner/apprunner/api/widgets/LayoutParamsProxy.java b/PHONK-android/phonk_apprunner/src/main/java/io/phonk/runner/apprunner/api/widgets/LayoutParamsProxy.java new file mode 100644 index 0000000..6a3d5f3 --- /dev/null +++ b/PHONK-android/phonk_apprunner/src/main/java/io/phonk/runner/apprunner/api/widgets/LayoutParamsProxy.java...
Yes, but the proxy could also be more general, the new ".props" so to speak. That way, it could contain id and user defined objects. In general, having a separate...
With straight arrows and reusing the existing code as much as possible\*:  https://github.com/notEvil/force-graph/tree/i337 \* the first proposal replaced rotation using sin cos with normal vectors. It should be...
The final proposal:  https://github.com/notEvil/force-graph/tree/i337-2 Compared to the others: - As fast as the current implementation on medium example (first 400 ticks) - Finds start and end `t` and uses...
proof of concept: https://github.com/notEvil/vgit.nvim/tree/i344 Issues: - `project_diff_preview`: when staging the first hunk of a file, the file gets added to the 'staged' part of the tree which essentially moves the...
@mokanfar Last year I spent some time customizing my keyboard experience and eventually wrote a Python library (based on evdev) which enables anything I wanted and is easy to maintain...
Fyi I found that evdev in py3.9 with X11 works but not with Wayland. (Before evdev in py3.8 with Wayland worked just fine)