[L2Ork-dev] Purr Data straight patch chords option and disabling grid background
Lorenzo Sutton
lorenzofsutton at gmail.com
Sat Dec 26 09:44:57 EST 2020
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.
>
> Unfortunately I had to use a background SVG for the grid pattern, and changing
> styles on it is non-trivial.
>
> I'd much rather spend time on one of the following:
>
> * figure out the intersection between "useful grid" and "unobtrusive
> editmode background" (lower opacity?)
>
> * add a different, less obtrusive background pattern for editmode when
> "snap to grid" is left unchecked
I imagine that is quite personal and - maybe - device dependent (i.e. on
the type of screen etc.).
Actually now in that branch above (which reports 'Pd-l2ork-2.15.2
20201223-rev.faaf98ee' in the about), I see again an option to
activate/deactivate 'grid background in edit mode' which in theory would
fulfil my initial question about not having the grid in edit mode?
Maybe a bit more of background would be that I'm playing a bit with
'live coding' with Pd, which of course happens mostly in edit mode :-)
Lorenzo.
More information about the L2Ork-dev
mailing list