Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Motion Bank
MB.js
Quasar Components MoSys
Commits
948a663d
Commit
948a663d
authored
Nov 06, 2019
by
christianrhansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mosys mobile: setted up watcher for resize-cell-handler
parent
735a329c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
partials/GridEditor.vue
partials/GridEditor.vue
+12
-1
No files found.
partials/GridEditor.vue
View file @
948a663d
...
...
@@ -363,7 +363,7 @@
cellHandler
:
{
size
:
{
width
:
40
,
height
:
40
},
move
:
{
x
:
20
,
y
:
undefined
,
gridPosition
:
{
row
:
undefined
,
column
:
undefined
},
pushed
:
false
,
pos
:
undefined
,
inViewport
:
undefined
,
onLeft
:
undefined
,
onRight
:
undefined
,
dataLeft
:
undefined
},
resize
:
{
x
:
undefined
,
y
:
undefined
,
pushed
:
false
,
pos
:
undefined
}
resize
:
{
x
:
undefined
,
y
:
undefined
,
gridPosition
:
{
row
:
undefined
,
column
:
undefined
},
pushed
:
false
,
pos
:
undefined
}
},
tempHandler
:
{
move
:
{
left
:
undefined
,
intersectingMainHandler
:
false
,
side
:
undefined
},
...
...
@@ -444,6 +444,14 @@
},
deep
:
true
},
'
cellHandler.resize.gridPosition
'
:
{
handler
:
function
(
obj
)
{
if
(
this
.
showEditingCells
)
{
console
.
log
(
obj
)
}
},
deep
:
true
},
slide
(
val
)
{
let
icon
switch
(
val
)
{
...
...
@@ -588,6 +596,9 @@
// ---> panGrid
let
res
=
this
.
getGridPositionForEvent
(
obj
)
this
.
cellHandler
.
resize
.
gridPosition
.
row
=
res
.
y
this
.
cellHandler
.
resize
.
gridPosition
.
column
=
res
.
x
if
(
obj
.
isFirst
)
{
this
.
mobileTempCell
.
show
=
true
this
.
mobileTempCell
.
button
=
false
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment