File tree Expand file tree Collapse file tree 2 files changed +7
-10
lines changed
Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 88
99 < style >
1010 .droppable-element {
11- width : 150px ;
12- text-align : center;
13- background : # fdd ;
14- border : 1px solid black;
15- margin : 10px 0 ;
16- padding : 10px ;
11+ width : 150px ;
12+ text-align : center;
13+ background : # fdd ;
14+ border : 1px solid black;
15+ margin : 10px 0 ;
16+ padding : 10px ;
1717 }
1818 </ style >
1919
Original file line number Diff line number Diff line change @@ -58,10 +58,8 @@ new Vue({
5858 this . layout = this . layout . filter ( obj => obj . i !== 'drop' ) ;
5959 }
6060 }
61-
6261 } ,
6362 dragend :function ( e ) {
64-
6563 let parentRect = document . getElementById ( 'content' ) . getBoundingClientRect ( ) ;
6664 let mouseInGrid = false ;
6765 if ( ( ( mouseXY . x > parentRect . left ) && ( mouseXY . x < parentRect . right ) ) && ( ( mouseXY . y > parentRect . top ) && ( mouseXY . y < parentRect . bottom ) ) ) {
@@ -86,8 +84,7 @@ new Vue({
8684 this.$refs.gridLayout.$children[this.layout.length].$refs.item.style.display="block";
8785 } catch {
8886 }
89- */
90-
87+ */
9188 }
9289 } ,
9390 } ,
You can’t perform that action at this time.
0 commit comments