@@ -115,44 +115,44 @@ class Monitor extends React.Component {
115115 newX ,
116116 newY
117117 ) ;
118- this . props . vm . runtime . requestUpdateMonitor ( Map ( {
118+ this . props . vm . runtime . requestUpdateMonitor ( {
119119 id : this . props . id ,
120120 x : newX ,
121121 y : newY
122- } ) ) ;
122+ } ) ;
123123 }
124124 handleHide ( ) {
125- this . props . vm . runtime . requestUpdateMonitor ( Map ( {
125+ this . props . vm . runtime . requestUpdateMonitor ( {
126126 id : this . props . id ,
127127 visible : false
128- } ) ) ;
128+ } ) ;
129129 }
130130 handleNextMode ( ) {
131131 const modes = availableModes ( this . props . opcode ) ;
132132 const modeIndex = modes . indexOf ( this . props . mode ) ;
133133 const newMode = modes [ ( modeIndex + 1 ) % modes . length ] ;
134- this . props . vm . runtime . requestUpdateMonitor ( Map ( {
134+ this . props . vm . runtime . requestUpdateMonitor ( {
135135 id : this . props . id ,
136136 mode : newMode
137- } ) ) ;
137+ } ) ;
138138 }
139139 handleSetModeToDefault ( ) {
140- this . props . vm . runtime . requestUpdateMonitor ( Map ( {
140+ this . props . vm . runtime . requestUpdateMonitor ( {
141141 id : this . props . id ,
142142 mode : 'default'
143- } ) ) ;
143+ } ) ;
144144 }
145145 handleSetModeToLarge ( ) {
146- this . props . vm . runtime . requestUpdateMonitor ( Map ( {
146+ this . props . vm . runtime . requestUpdateMonitor ( {
147147 id : this . props . id ,
148148 mode : 'large'
149- } ) ) ;
149+ } ) ;
150150 }
151151 handleSetModeToSlider ( ) {
152- this . props . vm . runtime . requestUpdateMonitor ( Map ( {
152+ this . props . vm . runtime . requestUpdateMonitor ( {
153153 id : this . props . id ,
154154 mode : 'slider'
155- } ) ) ;
155+ } ) ;
156156 }
157157 handleSliderPromptClose ( ) {
158158 this . setState ( { sliderPrompt : false } ) ;
@@ -163,12 +163,12 @@ class Monitor extends React.Component {
163163 handleSliderPromptOk ( min , max , isDiscrete ) {
164164 const realMin = Math . min ( min , max ) ;
165165 const realMax = Math . max ( min , max ) ;
166- this . props . vm . runtime . requestUpdateMonitor ( Map ( {
166+ this . props . vm . runtime . requestUpdateMonitor ( {
167167 id : this . props . id ,
168168 sliderMin : realMin ,
169169 sliderMax : realMax ,
170170 isDiscrete : isDiscrete
171- } ) ) ;
171+ } ) ;
172172 this . handleSliderPromptClose ( ) ;
173173 }
174174 setElement ( monitorElt ) {
0 commit comments