Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in / Register
Toggle navigation
Q
Quasar Components MoSys
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
16
Issues
16
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Motion Bank
MB.js
Quasar Components MoSys
Compare Revisions
f711ea6c445e4851f8bdc4019657466cc2c21e42...45e5cc4d3ac5ad38f37b6e256355feed27910c95
Source
45e5cc4d3ac5ad38f37b6e256355feed27910c95
Select Git revision
...
Target
f711ea6c445e4851f8bdc4019657466cc2c21e42
Select Git revision
Compare
Commits (2)
commented out mobileTempCell.button
· af263612
christianrhansen
authored
Nov 06, 2019
af263612
renaming function (handleCellInfoTouch -> handleCellEdit)
· 45e5cc4d
christianrhansen
authored
Nov 07, 2019
45e5cc4d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
partials/GridEditor.vue
partials/GridEditor.vue
+12
-12
No files found.
partials/GridEditor.vue
View file @
45e5cc4d
...
...
@@ -41,7 +41,7 @@
strong
{{
selectedCell
.
type
}}
q-item-side
q-btn.text-white.q-px-sm(@click="event => {handleCell
InfoTouch
(event, selectedCell.annotation)}", flat)
q-btn.text-white.q-px-sm(@click="event => {handleCell
Edit
(event, selectedCell.annotation)}", flat)
q-icon(name="edit")
q-btn.text-white.q-px-sm.on-right.on-left(@click="event => {handleCellContextMenuDelete(event, mobileSelectedCell)}",
...
...
@@ -103,20 +103,20 @@
//--------------------------------------------------------------------------------------------------- mobile
.mobile-only
.edit-button.absolute.fit.bg-transparent(
v-touch-hold="event => {handleCell
InfoTouch
(event, annotation)}",
v-touch-hold="event => {handleCell
Edit
(event, annotation)}",
@click.prevent="event => {touchMobileCell(event, annotation)}")
//
q-btn.absolute-top-right.text-dark.q-pa-none.q-mr-xs(
v-if="showEditingCells",
@click.prevent="event => {handleCell
InfoTouch
(event, annotation)}",
@click.prevent="event => {handleCell
Edit
(event, annotation)}",
flat, round, size="sm", style="margin-top: 2px;")
q-icon(name="edit", size="20px")
//----- invisible edit-modal handler
//
q-btn.absolute-top-left.bg-blue(
@click.prevent="event => {handleCell
InfoTouch
(event, annotation)}", flat, style="opacity: 0") bla
@click.prevent="event => {handleCell
Edit
(event, annotation)}", flat, style="opacity: 0") bla
// @click.prevent="handleModal()", flat, style="opacity: 0") bla
//----- selecting cells disabled because it has no use currently
...
...
@@ -566,7 +566,7 @@
if
(
obj
.
isFirst
)
{
this
.
activeHandler
=
true
this
.
mobileTempCell
.
show
=
true
this
.
mobileTempCell
.
button
=
false
//
this.mobileTempCell.button = false
this
.
cellHandler
.
move
.
pushed
=
true
}
...
...
@@ -582,7 +582,7 @@
if
(
obj
.
isFinal
)
{
this
.
activeHandler
=
false
this
.
mobileTempCell
.
onGrid
=
true
this
.
mobileTempCell
.
button
=
true
//
this.mobileTempCell.button = true
this
.
mobileTempCell
.
left
=
this
.
gridDimensions
.
full
.
cell
.
width
*
(
res
.
x
-
1
)
this
.
cellHandler
.
move
.
pushed
=
false
// this.cellHandler.move.y = this.gridDimensions.full.cell.height * (res.y - 1) + 8 + 59 + 20
...
...
@@ -608,7 +608,7 @@
if
(
obj
.
isFirst
)
{
this
.
activeHandler
=
true
this
.
mobileTempCell
.
show
=
true
this
.
mobileTempCell
.
button
=
false
//
this.mobileTempCell.button = false
this
.
cellHandler
.
resize
.
pushed
=
true
}
...
...
@@ -621,7 +621,7 @@
if
(
obj
.
isFinal
)
{
this
.
activeHandler
=
false
this
.
mobileTempCell
.
onGrid
=
true
this
.
mobileTempCell
.
button
=
true
//
this.mobileTempCell.button = true
this
.
cellHandler
.
resize
.
pushed
=
false
// this.addMobileCell(obj)
// this.mobileTempCell.show = false
...
...
@@ -629,8 +629,8 @@
this
.
cellHandler
.
resize
.
y
=
this
.
gridDimensions
.
full
.
cell
.
height
*
res
.
y
-
8
-
20
}
},
handleCell
InfoTouch
(
event
,
annotation
)
{
console
.
log
(
'
handleCell
InfoTouch
'
,
annotation
)
handleCell
Edit
(
event
,
annotation
)
{
console
.
log
(
'
handleCell
Edit
'
,
annotation
)
this
.
touchMobileCell
(
event
,
annotation
)
this
.
handleModal
()
},
...
...
@@ -654,7 +654,7 @@
if
(
obj
.
isFirst
)
{
this
.
mobileTempCell
.
show
=
true
this
.
mobileTempCell
.
button
=
false
//
this.mobileTempCell.button = false
this
.
mobileTempCell
.
x
=
res
.
x
this
.
mobileTempCell
.
y
=
res
.
y
}
...
...
@@ -664,7 +664,7 @@
if
(
obj
.
isFinal
)
{
this
.
mobileTempCell
.
onGrid
=
true
this
.
mobileTempCell
.
button
=
true
//
this.mobileTempCell.button = true
// this.addMobileCell(obj)
// this.mobileTempCell.show = false
this
.
cellHandler
.
move
.
x
=
this
.
gridDimensions
.
full
.
cell
.
width
*
(
this
.
mobileTempCell
.
x
-
1
)
+
8
+
20
...
...