Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sencha-core
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
sencha-core
Commits
fefbdb13
Commit
fefbdb13
authored
Jun 30, 2015
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- GanttEditor:
Fixed scrolling issue for DnD of Gantt bars
parent
f418e558
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
AbstractGanttPanel.js
www/view/gantt/AbstractGanttPanel.js
+4
-1
No files found.
www/view/gantt/AbstractGanttPanel.js
View file @
fefbdb13
...
...
@@ -95,9 +95,12 @@ Ext.define('PO.view.gantt.AbstractGanttPanel', {
* because sprites.getBBox() also returns relative coo.
*/
getMousePoint
:
function
(
mouseEvent
)
{
var
me
=
this
;
var
scroll
=
me
.
getEl
().
getScroll
();
// We need to adjust the mouse point by the scroll
var
surfaceBaseCoo
=
this
.
getXY
();
var
mouseScreenCoo
=
mouseEvent
.
getXY
();
var
mousePoint
=
[
mouseScreenCoo
[
0
]
-
surfaceBaseCoo
[
0
],
mouseScreenCoo
[
1
]
-
surfaceBaseCoo
[
1
]]
var
mousePoint
=
[
mouseScreenCoo
[
0
]
-
surfaceBaseCoo
[
0
]
+
scroll
.
left
,
mouseScreenCoo
[
1
]
-
surfaceBaseCoo
[
1
]]
return
mousePoint
;
},
...
...
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