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
4f2001a9
Commit
4f2001a9
authored
Oct 30, 2019
by
christianrhansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mobile: hide move-handlers (main & temp) when resize-handler is pushed
parent
9c30d4de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
partials/GridEditor.vue
partials/GridEditor.vue
+3
-1
No files found.
partials/GridEditor.vue
View file @
4f2001a9
...
...
@@ -149,6 +149,7 @@
// ref="move",
// .handler-new-cell.move.absolute.text-dark.justify-center.row.bg-white.shadow-6(
cell-handler-mobile.absolute(
v-if="mobileTempCell.onGrid && !handlerNewCell.resize.pushed",
@onIntersectionChange="intersectionChanged",
:element="'move'",
v-touch-pan="handleMoveCell",
...
...
@@ -160,7 +161,7 @@
//----- (when main move handler is outside of viewport)
cell-handler-mobile.temp.fixed(
v-touch-pan="handleMoveCell",
:class="[tempHandler.move.visibility ? 'temp-hide': 'temp-show']",
:class="[tempHandler.move.visibility
|| handlerNewCell.resize.pushed
? 'temp-hide': 'temp-show']",
:style="{left: tempHandler.move.left + 'px', top: handlerNewCell.move.y + 59 - 20 + 'px'}",)
q-icon.self-center.rotate-180(name="open_with", size="22px")
...
...
@@ -172,6 +173,7 @@
// ref="resize",
// :data-left="getHandlerPosition('resize')",
cell-handler-mobile.absolute(
v-if="mobileTempCell.onGrid && !handlerNewCell.move.pushed",
@onIntersectionChange="intersectionChanged",
:element="'resize'",
v-touch-pan="handleResizeCell",
...
...
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