diff --git a/lib/redmine/helpers/gantt.rb b/lib/redmine/helpers/gantt.rb index 0e389f8fd..d73a92ec0 100644 --- a/lib/redmine/helpers/gantt.rb +++ b/lib/redmine/helpers/gantt.rb @@ -737,20 +737,20 @@ module Redmine height = options[:height] || 2 # Renders the task bar, with progress and late if coords[:bar_start] && coords[:bar_end] - params[:pdf].SetY(params[:top]+1.5) + params[:pdf].SetY(params[:top] + 1.5) params[:pdf].SetX(params[:subject_width] + coords[:bar_start]) - params[:pdf].SetFillColor(200,200,200) + params[:pdf].SetFillColor(200, 200, 200) params[:pdf].RDMCell(coords[:bar_end] - coords[:bar_start], height, "", 0, 0, "", 1) if coords[:bar_late_end] - params[:pdf].SetY(params[:top]+1.5) + params[:pdf].SetY(params[:top] + 1.5) params[:pdf].SetX(params[:subject_width] + coords[:bar_start]) - params[:pdf].SetFillColor(255,100,100) + params[:pdf].SetFillColor(255, 100, 100) params[:pdf].RDMCell(coords[:bar_late_end] - coords[:bar_start], height, "", 0, 0, "", 1) end if coords[:bar_progress_end] - params[:pdf].SetY(params[:top]+1.5) + params[:pdf].SetY(params[:top] + 1.5) params[:pdf].SetX(params[:subject_width] + coords[:bar_start]) - params[:pdf].SetFillColor(90,200,90) + params[:pdf].SetFillColor(90, 200, 90) params[:pdf].RDMCell(coords[:bar_progress_end] - coords[:bar_start], height, "", 0, 0, "", 1) end end @@ -759,13 +759,13 @@ module Redmine if coords[:start] params[:pdf].SetY(params[:top] + 1) params[:pdf].SetX(params[:subject_width] + coords[:start] - 1) - params[:pdf].SetFillColor(50,50,200) + params[:pdf].SetFillColor(50, 50, 200) params[:pdf].RDMCell(2, 2, "", 0, 0, "", 1) end if coords[:end] params[:pdf].SetY(params[:top] + 1) params[:pdf].SetX(params[:subject_width] + coords[:end] - 1) - params[:pdf].SetFillColor(50,50,200) + params[:pdf].SetFillColor(50, 50, 200) params[:pdf].RDMCell(2, 2, "", 0, 0, "", 1) end end