diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2019-07-09 08:30:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-09 08:30:10 +0200 |
| commit | 2fd902a08fdce6a1dc7abd2ea2d9a0c13cb21d76 (patch) | |
| tree | f9c31a9399880dee1fe43775452aea4b4a863db1 /editor/plugins/visual_shader_editor_plugin.cpp | |
| parent | 675b9cb4c2e9b496005216c13d5f19eee892a4f5 (diff) | |
| parent | 28d3a6051ce197579817fb56521f539f2951d7e1 (diff) | |
Merge pull request #30438 from Calinou/use-color-constructors
Use base `Color()` constructors instead of `Color::html()`
Diffstat (limited to 'editor/plugins/visual_shader_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/visual_shader_editor_plugin.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/plugins/visual_shader_editor_plugin.cpp b/editor/plugins/visual_shader_editor_plugin.cpp index 7b4ae0f2e9..3ab2ae1643 100644 --- a/editor/plugins/visual_shader_editor_plugin.cpp +++ b/editor/plugins/visual_shader_editor_plugin.cpp @@ -365,10 +365,10 @@ void VisualShaderEditor::_update_graph() { } static const Color type_color[4] = { - Color::html("#61daf4"), // scalar - Color::html("#d67dee"), // vector - Color::html("#8da6f0"), // boolean - Color::html("#f6a86e") // transform + Color(0.38, 0.85, 0.96), // scalar + Color(0.84, 0.49, 0.93), // vector + Color(0.55, 0.65, 0.94), // boolean + Color(0.96, 0.66, 0.43) // transform }; List<VisualShader::Connection> connections; |