[LyX/master] Prevent branch background color from leaking out of the document
spitz at lyx.org
Thu Jan 21 09:01:13 UTC 2021
Am Donnerstag, dem 21.01.2021 um 09:55 +0100 schrieb Jürgen
> Am Donnerstag, dem 21.01.2021 um 09:52 +0100 schrieb Jean-Marc
> > This is why IMO declaring a name for such colors is a mistake. An
> > enum value generated on the fly would be enough.
> And where would you store and access these enum values?
> (BTW the name now is as unique as it gets, as it consists of the
> branch, a random integer which is assigned to the branchlist, and the
> branch name)
Of course, this problem could be easily solved also in branch by using
a color name "branch_" + branchname rather than just branchname (this
doesn't solve the leaking though).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 488 bytes
Desc: This is a digitally signed message part
More information about the lyx-devel