ruby-****@sourc*****
ruby-****@sourc*****
2013年 4月 27日 (土) 20:27:35 JST
------------------------- REMOTE_ADDR = 70.49.50.179 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-appdx-clrtheory ------------------------- @@ -653,12 +653,12 @@ if brightness < 0 # light (left) side dark_right_side = false brightness *= -1 - brightness = brightness - 0.05 if brightness == 1 # (rel 0.2) + brightness = brightness - 0.05 if brightness == 1 elsif brightness == 0 dark_right_side = nil # Do not do anything this time. else dark_right_side = true - brightness = 1 - ((brightness == 1) ? 0.95 : brightness) # (rel 0.2) + brightness = 1 - ((brightness == 1) ? 0.95 : brightness) end cdesch = colors[color] newcolor = [ cdesch[:c][0], cdesch[:c][1], cdesch[:c][2] ]