Fixed app dragging as image

This commit is contained in:
frikky
2021-02-18 19:01:46 +01:00
parent e7e50a266b
commit 1c12db12d1
+2 -2
View File
@@ -2581,7 +2581,7 @@ const AngularWorkflow = (props) => {
<Paper square style={newAppStyle} onMouseOver={() => {setHover(true)}} onMouseOut={() => {setHover(false)}}> <Paper square style={newAppStyle} onMouseOver={() => {setHover(true)}} onMouseOut={() => {setHover(false)}}>
<Grid container style={{margin: "10px 10px 10px 15px", flex: "10"}}> <Grid container style={{margin: "10px 10px 10px 15px", flex: "10"}}>
<Grid item> <Grid item>
<img alt={newAppname} src={image} style={{borderRadius: borderRadius, height: 80, width: 80,}} /> <img alt={newAppname} src={image} style={{pointerEvents: "none", userDrag: "none", userSelect: "none", borderRadius: borderRadius, height: 80, width: 80,}} />
</Grid> </Grid>
<Grid style={{display: "flex", flexDirection: "column", marginLeft: "20px", minWidth: 185, maxWidth: 185, overflow: "hidden", maxHeight: 77, }}> <Grid style={{display: "flex", flexDirection: "column", marginLeft: "20px", minWidth: 185, maxWidth: 185, overflow: "hidden", maxHeight: 77, }}>
<Grid item style={{flex: 1}}> <Grid item style={{flex: 1}}>
@@ -3681,7 +3681,7 @@ const AngularWorkflow = (props) => {
}}/> }}/>
</Tooltip> </Tooltip>
: :
<div style={{width: 17, height: 17, borderRadius: 17 / 2, backgroundColor: itemColor, marginRight: 10, marginTop: 3,}}/> <div style={{width: 17, height: 17, borderRadius: 17 / 2, backgroundColor: itemColor, marginRight: 10, marginTop: 2,}}/>
} }
<div style={{flex: "10"}}> <div style={{flex: "10"}}>
<Tooltip title={description} placement="top"> <Tooltip title={description} placement="top">