aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/script_editor_plugin.cpp
diff options
context:
space:
mode:
authorAriel Manzur2015-12-20 11:42:55 -0300
committerAriel Manzur2015-12-20 11:42:55 -0300
commita5fe71a0e9a8714ae8f23f306b4d8b747d11382d (patch)
treea13bfc0014a8dbdfe24a629b23b042bba42204ab /tools/editor/plugins/script_editor_plugin.cpp
parent5f1ae5eac208101e62da6361be21265f06d3a3b8 (diff)
downloadgodot-a5fe71a0e9a8714ae8f23f306b4d8b747d11382d.tar.gz
godot-a5fe71a0e9a8714ae8f23f306b4d8b747d11382d.tar.zst
godot-a5fe71a0e9a8714ae8f23f306b4d8b747d11382d.zip
this failed in msvc, didn't in linux and mingw
Diffstat (limited to 'tools/editor/plugins/script_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/script_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/plugins/script_editor_plugin.cpp b/tools/editor/plugins/script_editor_plugin.cpp
index 178871ea7..f22bd3d95 100644
--- a/tools/editor/plugins/script_editor_plugin.cpp
+++ b/tools/editor/plugins/script_editor_plugin.cpp
@@ -1773,7 +1773,7 @@ void ScriptEditor::_update_script_colors() {
if (h>hist_size) {
continue;
}
- float v = Math::ease((edit_pass-pass)/float_t(hist_size),0.4);
+ float v = Math::ease((edit_pass-pass)/float(hist_size),0.4);
script_list->set_item_custom_bg_color(i,hot_color.linear_interpolate(cold_color,v));