drag-drop-stage-component
Advanced tools
Comparing version 1.0.6 to 1.0.7
{ | ||
"name": "drag-drop-stage-component", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "A component to \"drag'n drop\"-enable your projects, maintained and simple, light on dependencies", | ||
@@ -5,0 +5,0 @@ "main": "src/ts/index.ts", |
@@ -218,5 +218,9 @@ define(["require", "exports", "./Types", "./utils/Polyfill", "./utils/DomMetrics", "./Keyboard", "./Mouse", "./flux/SelectionState", "./flux/UiState", "./observers/SelectablesObserver", "./observers/MouseObserver", "./observers/UiObserver", "./flux/StageStore", "./flux/SelectableState", "./utils/Events", "./flux/MouseState", "./Ui"], function (require, exports, types, Polyfill, DomMetrics, Keyboard_1, Mouse_1, selectionState, UiAction, SelectablesObserver_1, MouseObserver_1, UiObserver_1, StageStore_1, SelectableState_1, Events_1, MouseState_1, Ui_1) { | ||
const initialScroll = state.mouse.scrollData; | ||
const scrollSize = { | ||
x: this.contentWindow.innerWidth, | ||
y: this.contentWindow.innerHeight, | ||
}; | ||
const scroll = { | ||
x: Math.max(0, Math.round(bb.left + (bb.width / 2))), | ||
y: Math.max(0, Math.round(bb.top + (bb.height / 2))), | ||
x: Math.max(0, Math.round(bb.left + (bb.width / 2) - (scrollSize.x / 2))), | ||
y: Math.max(0, Math.round(bb.top + (bb.height / 2) - (scrollSize.y / 2))), | ||
}; | ||
@@ -245,2 +249,2 @@ if (scroll.x !== initialScroll.x || scroll.y !== initialScroll.y) { | ||
}); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvdHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0lBZ0JBOzs7O09BSUc7SUFDSCxNQUFhLEtBQUs7UUFVaEI7Ozs7O1dBS0c7UUFDSCxZQUFZLE1BQXlCLEVBQUUsUUFBZ0MsRUFBRSxV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LElBQUksQ0FBQyxLQUFLLENBQUMsUUFBUSxFQUFFLENBQUMsS0FBSyxDQUFDLFVBQVUsQ0FBQztZQUMvRSxJQUFHLE1BQU0sQ0FBQyxDQUFDLEtBQUssYUFBYSxDQUFDLENBQUMsSUFBSSxNQUFNLENBQUMsQ0FBQyxLQUFLLGFBQWEsQ0FBQyxDQUFDLEVBQUU7Z0JBQy9ELElBQUksQ0FBQyxLQUFLLENBQUMsUUFBUSxDQUFDLHNCQUFTLENBQUMsTUFBTSxDQUFDLENBQUMsQ0FBQzthQUN4QztRQUNILENBQUM7UUFHRDs7V0FFRztRQUNILFNBQVM7WUFDUCxPQUFPLElBQUksQ0FBQyxLQUFLLENBQUMsUUFBUSxFQUFFLENBQUMsS0FBSyxDQUFDLFVBQVUsQ0FBQztRQUNoRCxDQUFDO0tBQ0Y7SUFwVEQsc0JBb1RDIn0= |
@@ -299,5 +299,9 @@ import * as types from './Types'; | ||
const initialScroll: types.ScrollData = state.mouse.scrollData; | ||
const scrollSize = { | ||
x: this.contentWindow.innerWidth, | ||
y: this.contentWindow.innerHeight, | ||
}; | ||
const scroll: types.ScrollData = { | ||
x: Math.max(0, Math.round(bb.left + (bb.width/2))), | ||
y: Math.max(0, Math.round(bb.top + (bb.height/2))), | ||
x: Math.max(0, Math.round(bb.left + (bb.width/2) - (scrollSize.x / 2))), | ||
y: Math.max(0, Math.round(bb.top + (bb.height/2) - (scrollSize.y / 2))), | ||
}; | ||
@@ -304,0 +308,0 @@ if(scroll.x !== initialScroll.x || scroll.y !== initialScroll.y) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2041438
11014