mirror of
https://github.com/SleepingInsomniac/pixelfaucet
synced 2024-11-16 07:47:36 +01:00
Fix spelling
This commit is contained in:
parent
0bf101777e
commit
615cdc5d89
1 changed files with 6 additions and 6 deletions
|
@ -58,12 +58,6 @@ class CubicBezier < PF::Game
|
|||
draw_rect(*@curve.rect.map(&.to_i), CTL_COLOR)
|
||||
draw_curve(@curve, CURVE_COLOR)
|
||||
|
||||
@curve.extremeties.each do |point|
|
||||
point.try do |p|
|
||||
draw_circle(p.to_i, 3, EXT_Y_COLOR)
|
||||
end
|
||||
end
|
||||
|
||||
fill_circle(@curve.p0.to_i, 2, POINT_COLOR)
|
||||
fill_circle(@curve.p1.to_i, 2, POINT_COLOR)
|
||||
fill_circle(@curve.p2.to_i, 2, POINT_COLOR)
|
||||
|
@ -77,6 +71,12 @@ class CubicBezier < PF::Game
|
|||
if point = @hover_point
|
||||
draw_circle(point.value.to_i, 5, SEL_COLOR)
|
||||
end
|
||||
|
||||
@curve.extremities.each do |point|
|
||||
point.try do |p|
|
||||
draw_circle(p.to_i, 3, EXT_Y_COLOR)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue