Flip sort order of sensing object menu in video motion extension. Resolves GH-1074

This commit is contained in:
Andrew Sliwinski 2018-04-23 13:00:20 -04:00
parent 717ac46bbd
commit ced4de8995

View file

@ -289,13 +289,13 @@ class Scratch3VideoSensingBlocks {
*/ */
get SUBJECT_INFO () { get SUBJECT_INFO () {
return [ return [
{
name: 'stage',
value: SensingSubject.STAGE
},
{ {
name: 'sprite', name: 'sprite',
value: SensingSubject.SPRITE value: SensingSubject.SPRITE
},
{
name: 'stage',
value: SensingSubject.STAGE
} }
]; ];
} }
@ -366,7 +366,7 @@ class Scratch3VideoSensingBlocks {
SUBJECT: { SUBJECT: {
type: ArgumentType.NUMBER, type: ArgumentType.NUMBER,
menu: 'SUBJECT', menu: 'SUBJECT',
defaultValue: SensingSubject.STAGE defaultValue: SensingSubject.SPRITE
} }
} }
}, },