Update svg_model_motors.rb

remove literal colour
10.3.x-maintenance
stronnag 2015-11-11 17:20:31 +00:00
parent b466c9d2b9
commit 0876495b02
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ class Model
# Draw a circle, perhaps with directional arrows
# lyoffset, lxoffset change label position
def draw_circle x,y,label,dirn=CCW,loc=NE,fill=nil,colour=nil,lyoffset=0,lxoffset=0
col = (colour||'#54AD1D')
col = (colour||CIRCLE_GREEN)
@cr.set_font_size(@radius)
@cr.set_line_join(Cairo::LINE_JOIN_MITER)
@cr.set_line_width(3)