Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sencha-reporting-portfolio
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-reporting-portfolio
Commits
2ab7d36a
Commit
2ab7d36a
authored
Sep 14, 2014
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Sales Pipeline
parent
dc889406
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
sales-pipeline.adp
lib/sales-pipeline.adp
+7
-6
No files found.
lib/sales-pipeline.adp
View file @
2ab7d36a
...
...
@@ -120,10 +120,10 @@ function launchDiagram(){
if (dndSpriteShadow == null) { return; }
// console.log("onSurfaceMouseMove: "+event.getXY());
var xy = event.getXY();
var
org
XY = dndSpriteShadow.dndStartXY;
var
start
XY = dndSpriteShadow.dndStartXY;
dndSpriteShadow.setAttributes({
x: xy[0] -
org
XY[0],
y: xy[1] -
org
XY[1]
x: xy[0] -
start
XY[0],
y: xy[1] -
start
XY[1]
}, true);
};
...
...
@@ -132,9 +132,10 @@ function launchDiagram(){
// Subtract the start position from offset
var xy = event.getXY();
var orgXY = dndSpriteShadow.dndStartXY;
xy[0] = xy[0] - orgXY[0];
xy[1] = xy[1] - orgXY[1];
var startXY = dndSpriteShadow.dndStartXY;
xy[0] = xy[0] - startXY[0];
xy[1] = xy[1] - startXY[1];
surface = chart.surface;
// Update the sprite via the underyling store
console.log("onSurfaceMouseUp: "+xy);
...
...
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