summaryrefslogtreecommitdiff
path: root/tools/editor/plugins/script_editor_plugin.cpp
diff options
context:
space:
mode:
authorAriel Manzur <ariel@godotengine.org>2015-12-21 09:17:15 -0300
committerAriel Manzur <ariel@godotengine.org>2015-12-21 09:17:15 -0300
commit0576e1e28f41f103cd06452d810a04265e3574cc (patch)
tree817c1a5e3ca8b8f786e013c0322e4052e7f85d59 /tools/editor/plugins/script_editor_plugin.cpp
parent72a6b137ba256f5198843f8980107c350d52e5ca (diff)
parent15429d6ac95acb044c9eebd64356f33e7e5d14ef (diff)
Merge branch 'master' of https://github.com/godotengine/godot
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 178871ea75..f22bd3d956 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));