- コミット日時:
- 2010/03/25 00:18:27 (3 年前)
- ファイル:
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
as3/gunyarapaint/branches/gunyarapaint/framework/src/org/libspark/gunyarapaint/framework/modules/DropperModule.as
r3601 r3604 40 40 private function drop(x:Number, y:Number):void 41 41 { 42 var color:uint = m_recorder.getPixel(x, y);43 if (m_recorder.pen.color != color) {44 m_recorder.commitCommand(45 PenCommand.ID,46 {47 "type": PenCommand.COLOR,48 "color": m_recorder.getPixel(x, y)49 }50 );51 }42 var color:uint = m_recorder.getPixel(x, y); 43 if (m_recorder.pen.color != color) { 44 m_recorder.commitCommand( 45 PenCommand.ID, 46 { 47 "type": PenCommand.COLOR, 48 "color": m_recorder.getPixel(x, y) 49 } 50 ); 51 } 52 52 } 53 53 }

