David Sugar
David Sugar
I had something similar implemented. You can find the code in `src/gate/graphics/connection_line.rs`. There is a function (system) called `draw_data_flow` that checks for `DataPoint`s and moves them along a bezier curve...
Implemented in #77
I tried adding the `u24` after `DPLLCTRLA` but that doesn't fix the alignment issue. Also, `DPLLCTRLB` seems to be 4 byte alligned, but maybe I used `@alignOf`` wrong. ```zig comptime...
```zig comptime { std.debug.assert(@bitOffsetOf(@TypeOf(regs.OSCCTRL.DPLL[0]), "DPLLRATIO") % 4 == 0); std.debug.assert(@bitOffsetOf(@TypeOf(regs.OSCCTRL.DPLL[0]), "DPLLCTRLB") % 4 == 0); } regs.OSCCTRL.DPLL[0].DPLLCTRLB.modify(.{.FILTER = 0}); ``` ## With u24 ```zig pub const DPLL = @intToPtr(*volatile [2]packed...
So this happens if you don't set the `press_text` field for one of the style structs. ```zig .style_accent = .{ .accent = accent.lighten(0.3), .fill = accent, .text = Color.white, .border...
1. this is correct 2. no otherwise I wouldn't have encountered the bug I don't understand why the fields are optional if they are expected to be present. I'd either...
No reason to be sorry david :).
To answer you question, I don't use the different color styles that much. I copied the default theme a few weeks back and made some adjustments to it. Now I'm...
> Thanks for the info - looks like color_style is going to go. Oh I also wondered about your build.zig.zon file specifying the branch. Is that so you don't have...
Hey, sure. I'll give you feedback as soon as I've updated my theme.