Skip to content

Conversation

@in1tiate
Copy link
Member

See #983.

@in1tiate in1tiate requested a review from Salanto June 23, 2024 06:44
{ // chatbox colors
for (int c = 0; c < max_colors; ++c)
{
additive_previous = additive_previous.replace("$c" + QString::number(c), char_color_rgb_list.at(c).name(QColor::HexRgb));
Copy link
Contributor

@Salanto Salanto Jun 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this and the one below literally the same function call or am I missing something here?
What is different here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If custom chat boxes are enabled, it pulls data from char_color_rgb_list, otherwise it's pulled from default_color_rgb_list

@Salanto
Copy link
Contributor

Salanto commented Jun 25, 2024

The surrounding code looks like spaghetti and the entire colour system needs a genuine overhaul.

@Salanto Salanto merged commit 5be0860 into master Jun 25, 2024
@Salanto Salanto deleted the fix-chatcolor-toggle branch June 25, 2024 09:34
collinxchu added a commit to collinxchu/AO2-Client that referenced this pull request Jun 29, 2024
Fix color-related UI not honoring chatbox setting (AttorneyOnline#984)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants