チェンジセット 3606: as3/gunyarapaint

差分発生行の前後
無視リスト:
コミット日時:
2010/03/25 00:27:21 (3 年前)
コミッタ:
hkrn
ログメッセージ:

isShortCut to isForcusedOnTextField

ファイル:

凡例:

変更無し
追加
削除
更新
コピー
移動
  • as3/gunyarapaint/branches/gunyarapaint/compat/src/gunyarapaint.mxml

    r3592 r3606  
    343343            } 
    344344             
    345             private function get isShortCut():Boolean 
    346             { 
    347                 return stage.focus is mx.core.UITextField; 
    348             } 
    349              
    350345            private function onKeyDown(evt:KeyboardEvent):void 
    351346            { 
    352                 if (isShortCut
     347                if (isForcusedOnTextField
    353348                    return; 
    354349                switch (evt.keyCode) { 
     
    447442            private function onKeyUp(evt:KeyboardEvent):void 
    448443            { 
    449                 if (isShortCut
     444                if (isForcusedOnTextField
    450445                    return; 
    451446                switch (evt.keyCode) { 
     
    474469                    return; 
    475470                } 
     471            } 
     472             
     473            private function get isForcusedOnTextField():Boolean 
     474            { 
     475                return stage.focus is mx.core.UITextField; 
    476476            } 
    477477        ]]>