Skip to content

Graphs color option does not change back when the dark theme is disabled. #2880

@fz0000

Description

@fz0000

Steps:

  1. Check "Enable theme support (experimental)" and restart.
  2. Uncheck "Enable theme support (experimental)" and restart.

The Graphs color is still in dark mode:

Image

Expected:
The backgroud should be reset, too.

Image

if (PhGetIntegerSetting(SETTING_ENABLE_THEME_SUPPORT)) // PhGetIntegerSetting required (dmex)
{
PhSetIntegerSetting(SETTING_GRAPH_COLOR_MODE, 1); // HACK switch to dark theme. (dmex)
}

Should we append the following code after it?

else
{
    PhSetIntegerSetting(SETTING_GRAPH_COLOR_MODE, 0);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions