Commit 6df112bd authored by christianrhansen's avatar christianrhansen

mosys mobile: moved "add new cell"-button into "new cell header"

parent 9905b75c
Pipeline #20001 passed with stage
in 1 minute and 23 seconds
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment