Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Q
Quasar Components MoSys
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
9
Issues
9
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Motion Bank
MB.js
Quasar Components MoSys
Commits
66573b80
Commit
66573b80
authored
Nov 07, 2019
by
christianrhansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed redundant var (pushedHandler)
parent
1c95f42f
Pipeline
#20293
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
1 addition
and
6 deletions
+1
-6
partials/GridEditor.vue
partials/GridEditor.vue
+1
-6
No files found.
partials/GridEditor.vue
View file @
66573b80
<
template
lang=
"pug"
>
<
template
lang=
"pug"
>
div.cell-grid-container(
div.cell-grid-container(
:class="{'overflow-hidden':
pushedHandler
}",
:class="{'overflow-hidden':
cellHandler.resize.pushed || cellHandler.move.pushed
}",
style="overflow-y: hidden; scroll-behavior: smooth;")
style="overflow-y: hidden; scroll-behavior: smooth;")
q-window-resize-observable(@resize="updateGridDimensions")
q-window-resize-observable(@resize="updateGridDimensions")
...
@@ -266,7 +266,6 @@
...
@@ -266,7 +266,6 @@
move
:
{
left
:
undefined
,
intersectingMainHandler
:
false
,
side
:
undefined
},
move
:
{
left
:
undefined
,
intersectingMainHandler
:
false
,
side
:
undefined
},
resize
:
{
left
:
undefined
,
intersectingMainHandler
:
false
,
side
:
undefined
}
resize
:
{
left
:
undefined
,
intersectingMainHandler
:
false
,
side
:
undefined
}
},
},
pushedHandler
:
false
,
selectedCell
:
{
type
:
undefined
,
annotation
:
undefined
}
selectedCell
:
{
type
:
undefined
,
annotation
:
undefined
}
}
}
},
},
...
@@ -438,7 +437,6 @@
...
@@ -438,7 +437,6 @@
tempCell
=
this
.
mobileTempCell
tempCell
=
this
.
mobileTempCell
if
(
obj
.
isFirst
)
{
if
(
obj
.
isFirst
)
{
this
.
pushedHandler
=
true
tempCell
.
show
=
true
tempCell
.
show
=
true
moveHandler
.
pushed
=
true
moveHandler
.
pushed
=
true
}
}
...
@@ -452,7 +450,6 @@
...
@@ -452,7 +450,6 @@
moveHandler
.
gridPosition
.
column
=
pos
.
x
moveHandler
.
gridPosition
.
column
=
pos
.
x
if
(
obj
.
isFinal
)
{
if
(
obj
.
isFinal
)
{
this
.
pushedHandler
=
false
tempCell
.
onGrid
=
true
tempCell
.
onGrid
=
true
moveHandler
.
pushed
=
false
moveHandler
.
pushed
=
false
moveHandler
.
x
=
fullCell
.
width
*
(
tempCell
.
x
-
1
)
+
8
+
20
moveHandler
.
x
=
fullCell
.
width
*
(
tempCell
.
x
-
1
)
+
8
+
20
...
@@ -468,7 +465,6 @@
...
@@ -468,7 +465,6 @@
tempCell
=
this
.
mobileTempCell
tempCell
=
this
.
mobileTempCell
if
(
obj
.
isFirst
)
{
if
(
obj
.
isFirst
)
{
this
.
pushedHandler
=
true
tempCell
.
show
=
true
tempCell
.
show
=
true
resizeHandler
.
pushed
=
true
resizeHandler
.
pushed
=
true
}
}
...
@@ -482,7 +478,6 @@
...
@@ -482,7 +478,6 @@
resizeHandler
.
gridPosition
.
column
=
pos
.
x
resizeHandler
.
gridPosition
.
column
=
pos
.
x
if
(
obj
.
isFinal
)
{
if
(
obj
.
isFinal
)
{
this
.
pushedHandler
=
false
tempCell
.
onGrid
=
true
tempCell
.
onGrid
=
true
resizeHandler
.
pushed
=
false
resizeHandler
.
pushed
=
false
resizeHandler
.
x
=
this
.
gridDimensions
.
full
.
cell
.
width
*
pos
.
x
-
8
-
20
resizeHandler
.
x
=
this
.
gridDimensions
.
full
.
cell
.
width
*
pos
.
x
-
8
-
20
...
...
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