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
6df112bd
Commit
6df112bd
authored
Nov 06, 2019
by
christianrhansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mosys mobile: moved "add new cell"-button into "new cell header"
parent
9905b75c
Pipeline
#20001
passed with stage
in 1 minute and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
partials/GridEditor.vue
partials/GridEditor.vue
+10
-5
No files found.
partials/GridEditor.vue
View file @
6df112bd
...
...
@@ -24,6 +24,11 @@
strong New
{{
newCellType
}}
q-item-side
q-btn.text-white(
@click="event => {addMobileCell(event)}", round, flat,
style="background-color: rgba(0, 0, 0, 0);")
q-icon(name="check")
q-btn.text-white.q-px-md.q-mr-md.on-right(@click="clearHandler('cached cell')", flat,
style="border-radius: .5rem; width: 42px; border: 1px solid rgba(255, 255, 255, .3);")
q-icon(name="clear")
...
...
@@ -155,10 +160,11 @@
cell.absolute-top-left.q-ma-sm(:cell="cachedNewCell", :temp="true")
q-btn.text-white(v-if="mobileTempCell.button",
@click="event => {addMobileCell(event)}", round, flat, size="lg",
style="background-color: rgba(0, 0, 0, 0);")
q-icon(name="check")
//
q-btn.text-white(v-if="mobileTempCell.button",
@click="event => {addMobileCell(event)}", round, flat, size="lg",
style="background-color: rgba(0, 0, 0, 0);")
q-icon(name="check")
//------------------------------------------------------------------------------------------------- move handler
//----- (main)
...
...
@@ -670,7 +676,6 @@
// console.log('--->>>', this.getGridPositionForEvent(event))
},
addMobileCell
(
event
)
{
// console.log('addMobileCell()', event, annotation)
if
(
this
.
cachedNewCell
)
{
this
.
handleGridDrop
(
event
)
this
.
$store
.
commit
(
'
mosys/cacheNewCell
'
,
undefined
)
...
...
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