Prat 3.0

Prat 3.0

26M Downloads

Separate spacing option to distinguish sources.

cakgok opened this issue ยท 2 comments

commented

Is your feature request related to a problem? Please describe.
Is it possible to make a separate line spacing option in paragraph module, that only applies when the next line is from a different source? Like an actual paragraph.

For example, I write 3 lines in chat, regular spacing is 2 and it applies as it always does, Then, fictional "paragraph spacing" is 6 and it kicks in when someone replies and leaves more space between 2 ''paragraphs" that is from different sources.

Hope this is clear enough. This is what addon ls: glass does and I think gives a cleaner look.

commented

There isn't a way to add custom spacing for separate sources with the Blizzard chat frame - as Prat doesn't replace the chat frame there's limits to how much can be changed.

commented

Although it is, no doubt, quite a piece of work. The net result is something that I, myself, have desired for a long time. Is it not possible that, before adding the user-defined spacing between the previous line and the one currently being processed, a 'simple' ITTT be performed to compare incoming source; say 'CHAT_MSG_SYSTEM' or 'CHAT_MSG_GUILD'. The code could determine:
IF incoming_source != previous_source THEN user_defined_newline ELSE default_newline or, conversely,
IF incoming_source = previous_source THEN default_newline ELSE user_defined_newline

I'm not a coder and definitely not qualified to teach grandmothers to suck eggs, but my former life as a tester suggests this surely could be a thing, no?