[L2Ork-dev] Purr Data straight patch chords option and disabling grid background
Jonathan Wilkes
jon.w.wilkes at gmail.com
Sat Dec 26 11:02:45 EST 2020
On Sat, Dec 26, 2020 at 9:50 AM Lorenzo Sutton <lorenzofsutton at gmail.com> wrote:
>
> On 23/12/2020 23:28, Jonathan Wilkes wrote:
> > On Wed, Dec 23, 2020 at 3:20 PM Lorenzo Sutton <lorenzofsutton at gmail.com> wrote:
> >>
> >> On 23/12/2020 18:53, Jonathan Wilkes wrote:
> >>> On Wed, Dec 23, 2020 at 4:05 AM Lorenzo Sutton <lorenzofsutton at gmail.com> wrote:
> >>
> >> [...]
> >>
> > Actually, I could just hard-code straight lines to any GUI preset with
> > "vanilla" in its name:
> >
> > https://git.purrdata.net/jwilkes/purr-data/-/merge_requests/603
> >
> > It's a bit hacky because it won't redraw curved connections if you change
> > the GUI preset with open patches.
> >
> > You're welcome to checkout that branch above and let me know if that works for
> > you. If so we can figure out how to redraw the lines for existing patches and
> > merge it in.
>
> Thanks a lot for looking into this!
>
> I had the time to check it out and compile and it seems to work well. I
> guess linking that behaviour to the theme makes sense...
>
> >>
> >> Ideally this would be somehow also saved in the patch, but not sure how
> >> much complexity that would add.
> >
> > Hard-coding with "vanilla"-substring'd GUI presets solves that issue.
>
> But IIRC the theme is an application-wise setting? Or maybe I
> missunderstood.
Yes. Per-canvas theming is a more complicated thing, especially given that the
CSS files are such a mess atm.
-Jonathan
More information about the L2Ork-dev
mailing list