Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
verona-modules-aspect
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IQB
verona-modules-aspect
Commits
0e88544f
Commit
0e88544f
authored
2 years ago
by
rhenck
Browse files
Options
Downloads
Patches
Plain Diff
Fix element drop in dynamic sections
#264
parent
f89f392b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
projects/editor/src/app/components/canvas/dynamic-section-helper-grid.component.ts
+4
-4
4 additions, 4 deletions
...omponents/canvas/dynamic-section-helper-grid.component.ts
with
4 additions
and
4 deletions
projects/editor/src/app/components/canvas/dynamic-section-helper-grid.component.ts
+
4
−
4
View file @
0e88544f
...
...
@@ -108,23 +108,23 @@ export class DynamicSectionHelperGridComponent implements OnInit, OnChanges {
});
}
if
(
dragItemData
.
dragType
===
'
move
'
)
{
this
.
unitService
.
updateElementsProperty
(
this
.
unitService
.
updateElementsP
ositionP
roperty
(
[
event
.
item
.
data
.
element
],
'
gridColumn
'
,
event
.
container
.
data
.
gridCoordinates
!
[
0
]
);
this
.
unitService
.
updateElementsProperty
(
this
.
unitService
.
updateElementsP
ositionP
roperty
(
[
dragItemData
.
element
],
'
gridRow
'
,
event
.
container
.
data
.
gridCoordinates
!
[
1
]
);
}
else
if
(
event
.
item
.
data
.
dragType
===
'
resize
'
)
{
this
.
unitService
.
updateElementsProperty
(
this
.
unitService
.
updateElementsP
ositionP
roperty
(
[
dragItemData
.
element
],
'
gridColumnEnd
'
,
event
.
container
.
data
.
gridCoordinates
!
[
0
]
+
1
);
this
.
unitService
.
updateElementsProperty
(
this
.
unitService
.
updateElementsP
ositionP
roperty
(
[
dragItemData
.
element
],
'
gridRowEnd
'
,
event
.
container
.
data
.
gridCoordinates
!
[
1
]
+
1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment