プロジェクト

全般

プロフィール

致命的 #605 » 0001-destroy-release.patch

Satoshi Okuno, 2013-07-28 17:24

差分を表示:

core/mui/cairo_miracle_painter.rb
# MiraclePainterの座標x, y上でポインティングデバイスのボタン1が離されたことを通知する
def released(x=nil, y=nil)
if(x == y and not x)
unselect
else
textselector_release(*main_pos_to_index_forclick(x, y)[1..2]) end end
if not destroyed?
if(x == y and not x)
unselect
else
textselector_release(*main_pos_to_index_forclick(x, y)[1..2]) end end end
# 座標 ( _x_ , _y_ ) にクリックイベントを発生させる
def clicked(x, y, event)
    (1-1/1)