fix: update the location of editor theme

This commit is contained in:
Emmanuel Ferdman 2024-04-06 18:03:13 +03:00
parent e5b4ef8e95
commit ea5ecc6b8e
No known key found for this signature in database
GPG key ID: 0CF84597DD87A9FF
2 changed files with 2 additions and 2 deletions

View file

@ -830,7 +830,7 @@
<member name="interface/theme/icon_and_font_color" type="int" setter="" getter=""> <member name="interface/theme/icon_and_font_color" type="int" setter="" getter="">
The icon and font color scheme to use in the editor. The icon and font color scheme to use in the editor.
- [b]Auto[/b] determines the color scheme to use automatically based on [member interface/theme/base_color]. - [b]Auto[/b] determines the color scheme to use automatically based on [member interface/theme/base_color].
- [b]Dark[/b] makes fonts and icons dark (suitable for light themes). Icon colors are automatically converted by the editor following the set of rules defined in [url=https://github.com/godotengine/godot/blob/master/editor/editor_themes.cpp]this file[/url]. - [b]Dark[/b] makes fonts and icons dark (suitable for light themes). Icon colors are automatically converted by the editor following the set of rules defined in [url=https://github.com/godotengine/godot/blob/master/editor/themes/editor_theme_manager.cpp]this file[/url].
- [b]Light[/b] makes fonts and icons light (suitable for dark themes). - [b]Light[/b] makes fonts and icons light (suitable for dark themes).
</member> </member>
<member name="interface/theme/icon_saturation" type="float" setter="" getter=""> <member name="interface/theme/icon_saturation" type="float" setter="" getter="">

View file

@ -48,7 +48,7 @@ void Marker2D::_draw_cross() {
// Use a darkened axis color for the negative axis. // Use a darkened axis color for the negative axis.
// This makes it possible to see in which direction the Marker3D node is rotated // This makes it possible to see in which direction the Marker3D node is rotated
// (which can be important depending on how it's used). // (which can be important depending on how it's used).
// Axis colors are taken from `axis_x_color` and `axis_y_color` (defined in `editor/editor_themes.cpp`). // Axis colors are taken from `axis_x_color` and `axis_y_color` (defined in `editor/themes/editor_theme_manager.cpp`).
const Color color_x = Color(0.96, 0.20, 0.32); const Color color_x = Color(0.96, 0.20, 0.32);
const Color color_y = Color(0.53, 0.84, 0.01); const Color color_y = Color(0.53, 0.84, 0.01);
PackedColorArray colors = { PackedColorArray colors = {