File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/app/components/sandbox/Preview/DevTools Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -210,12 +210,10 @@ export default class DevTools extends React.PureComponent<Props, State> {
210210 } ;
211211
212212 handleTouchEnd = ( event : TouchEvent ) => {
213- if ( event . touches && event . touches . length ) {
214- this . handleMouseUp ( normalizeTouchEvent ( event ) ) ;
215- }
213+ this . handleMouseUp ( event ) ;
216214 } ;
217215
218- handleMouseUp = ( e : Event & { clientX : number , clientY : number } ) => {
216+ handleMouseUp = ( e : Event ) => {
219217 if ( this . state . mouseDown ) {
220218 this . setState ( { mouseDown : false } ) ;
221219 this . props . setDragging ( false ) ;
@@ -333,6 +331,7 @@ export default class DevTools extends React.PureComponent<Props, State> {
333331 < Tooltip
334332 style = { { pointerEvents : hidden ? 'none' : 'initial' } }
335333 title = { title }
334+ key = { title }
336335 >
337336 < Icon
338337 style = { {
You can’t perform that action at this time.
0 commit comments