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
45e5cc4d
Commit
45e5cc4d
authored
Nov 07, 2019
by
christianrhansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renaming function (handleCellInfoTouch -> handleCellEdit)
parent
af263612
Pipeline
#20200
passed with stage
in 5 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
partials/GridEditor.vue
partials/GridEditor.vue
+6
-6
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
...
...
@@ -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
()
},
...
...
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